This commit is contained in:
kento2 2026-06-16 16:54:02 +02:00
parent 4055fbfe86
commit 856e135e63
10 changed files with 20 additions and 21 deletions

View file

@ -1,2 +1,2 @@
#!/bin/sh
exec chpst -e "$TURNSTILE_ENV_DIR" dunst
exec dunst

View file

@ -1,3 +1,2 @@
#!/bin/sh
exec chpst -e "$TURNSTILE_ENV_DIR" sh -c "pass-sync && sleep 60 || sleep 360"
pass-sync && sleep 60 || sleep 360

View file

@ -1,9 +1,8 @@
#!/bin/sh
rm -rf "/run/user/$(id -u)/pulse"
exec chpst -e "$TURNSTILE_ENV_DIR" sh -c '
exec 2>&1
test -n "$DBUS_SESSION_BUS_ADDRESS" || {
>&2 echo "dbus not running"
exit 1
}
rm -rf "/run/user/$(id -u)/pulse"
exec pipewire
'

View file

@ -1,4 +1,4 @@
#!/bin/sh
mkdir -p ~/nfs
exec chpst -e "$TURNSTILE_ENV_DIR" \
sshfs -o auto_unmount -f kentoj.de:nfs ~/nfs
mkdir -p "$HOME/nfs"
exec sshfs -o auto_unmount -o uid=`id -u` -o gid=`id -g` -f kentoj.de:nfs "$HOME/nfs"