diff options
| author | 2026-02-08 09:23:10 +0100 | |
|---|---|---|
| committer | 2026-02-08 09:23:10 +0100 | |
| commit | f295de9d91886e7274d58e2c0403350254801c5c (patch) | |
| tree | 920384b9c524b01373d47c1c26dd6e52472d5335 | |
| parent | runsvdir@: add (diff) | |
seatd: addnitro
| -rw-r--r-- | seatd/notification-fd | 1 | ||||
| -rwxr-xr-x | seatd/run | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/seatd/notification-fd b/seatd/notification-fd new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/seatd/notification-fd @@ -0,0 +1 @@ +4 diff --git a/seatd/run b/seatd/run new file mode 100755 index 0000000..68b1308 --- /dev/null +++ b/seatd/run @@ -0,0 +1,13 @@ +#!/bin/sh +exec 2>&1 + +[ -r ./conf ] && . ./conf +# you may not set nfd in conf; it *must* match ./notification-fd +nfd= +# NOTE: $(<) & co are non-POSIX extensions +[ -r ./notification-fd ] && nfd=$(cat ./notification-fd) + +: ${GROUP:=_seatd} # Void Linux oriented default, set in conf +: ${OPTS:=-g "$GROUP"} # or just set all the opts yourself + +exec /usr/bin/seatd ${nfd:+-n "$nfd"} $OPTS |
