mirror of
https://codeberg.org/frosty/dotfiles.git
synced 2024-09-19 11:47:09 -04:00
move services to .config/service, managed by turnstile
This commit is contained in:
parent
2b0f15f048
commit
e57e1c5403
11
runit/.config/service/dbus/run
Executable file
11
runit/.config/service/dbus/run
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ -r ./conf ] && . ./conf
|
||||||
|
|
||||||
|
: "${DBUS_SESSION_BUS_ADDRESS:=unix:path=/run/user/$(id -u)/bus}"
|
||||||
|
|
||||||
|
if [ -d "$TURNSTILE_ENV_DIR" ]; then
|
||||||
|
echo "$DBUS_SESSION_BUS_ADDRESS" > "$TURNSTILE_ENV_DIR"/DBUS_SESSION_BUS_ADDRESS
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec chpst -e "$TURNSTILE_ENV_DIR" dbus-daemon --session --nofork --nopidfile --address="$DBUS_SESSION_BUS_ADDRESS" $OPTS
|
1
runit/.config/service/dbus/supervise/pid
Normal file
1
runit/.config/service/dbus/supervise/pid
Normal file
|
@ -0,0 +1 @@
|
||||||
|
994
|
1
runit/.config/service/dbus/supervise/stat
Normal file
1
runit/.config/service/dbus/supervise/stat
Normal file
|
@ -0,0 +1 @@
|
||||||
|
run
|
BIN
runit/.config/service/dbus/supervise/status
Normal file
BIN
runit/.config/service/dbus/supervise/status
Normal file
Binary file not shown.
3
runit/.config/service/dunst/run
Executable file
3
runit/.config/service/dunst/run
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exec chpst -e "$TURNSTILE_ENV_DIR" dunst
|
1
runit/.config/service/dunst/supervise/pid
Normal file
1
runit/.config/service/dunst/supervise/pid
Normal file
|
@ -0,0 +1 @@
|
||||||
|
1052
|
1
runit/.config/service/dunst/supervise/stat
Normal file
1
runit/.config/service/dunst/supervise/stat
Normal file
|
@ -0,0 +1 @@
|
||||||
|
run
|
BIN
runit/.config/service/dunst/supervise/status
Normal file
BIN
runit/.config/service/dunst/supervise/status
Normal file
Binary file not shown.
3
runit/.config/service/picom/run
Executable file
3
runit/.config/service/picom/run
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exec chpst -e "$TURNSTILE_ENV_DIR" picom
|
1
runit/.config/service/picom/supervise/pid
Normal file
1
runit/.config/service/picom/supervise/pid
Normal file
|
@ -0,0 +1 @@
|
||||||
|
2671
|
1
runit/.config/service/picom/supervise/stat
Normal file
1
runit/.config/service/picom/supervise/stat
Normal file
|
@ -0,0 +1 @@
|
||||||
|
run
|
BIN
runit/.config/service/picom/supervise/status
Normal file
BIN
runit/.config/service/picom/supervise/status
Normal file
Binary file not shown.
2
runit/.config/service/pipewire/control/t
Executable file
2
runit/.config/service/pipewire/control/t
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
[ -r supervise/pid ] && kill -TERM -$(cat supervise/pid)
|
4
runit/.config/service/pipewire/run
Executable file
4
runit/.config/service/pipewire/run
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
SVDIR=".." sv start dbus || exit 1
|
||||||
|
exec chpst -e "$TURNSTILE_ENV_DIR" pipewire
|
1
runit/.config/service/pipewire/supervise/pid
Normal file
1
runit/.config/service/pipewire/supervise/pid
Normal file
|
@ -0,0 +1 @@
|
||||||
|
995
|
1
runit/.config/service/pipewire/supervise/stat
Normal file
1
runit/.config/service/pipewire/supervise/stat
Normal file
|
@ -0,0 +1 @@
|
||||||
|
run
|
BIN
runit/.config/service/pipewire/supervise/status
Normal file
BIN
runit/.config/service/pipewire/supervise/status
Normal file
Binary file not shown.
1
runit/.config/service/turnstile-ready/conf
Normal file
1
runit/.config/service/turnstile-ready/conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
core_services="dbus"
|
0
runit/.config/service/udiskie/supervise/pid
Normal file
0
runit/.config/service/udiskie/supervise/pid
Normal file
1
runit/.config/service/udiskie/supervise/stat
Normal file
1
runit/.config/service/udiskie/supervise/stat
Normal file
|
@ -0,0 +1 @@
|
||||||
|
down
|
BIN
runit/.config/service/udiskie/supervise/status
Normal file
BIN
runit/.config/service/udiskie/supervise/status
Normal file
Binary file not shown.
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
exec dunst 2>&1
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
exec picom 2>&1
|
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
sv check "$HOME/.runit/sv/wireplumber" >/dev/null || exit 1
|
|
||||||
|
|
||||||
exec pipewire-pulse 2>&1
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
exec pipewire 2>&1
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
exec sxhkd 2>&1
|
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
sv check "$HOME/.runit/sv/pipewire" >/dev/null || exit 1
|
|
||||||
|
|
||||||
exec wireplumber 2>&1
|
|
Loading…
Reference in a new issue