services: Add desktop environment programs as user services

Added a runit-managed kanshi, swaybg, waybar, wl-paste and wlsunset
service.
This commit is contained in:
Marty Oehme 2025-02-24 16:59:02 +01:00
parent e08f88db9c
commit a3f30cf228
Signed by: Marty
GPG key ID: 4E535BC19C61886E
11 changed files with 87 additions and 27 deletions

6
services/sv/swaybg/run Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
[ -r ./conf ] && . ./conf
exec 2>&1
exec chpst -e "$TURNSTILE_ENV_DIR" swaybg -o "LG Electronics W2442 0x000574E1" -i "$HOME/pictures/wall_l.jpg" -o "LG Electronics W2442 0x000574FD" -i "$HOME/pictures/wall_r.jpg"