diff options
Diffstat (limited to 'rigel/.config/sway/veila-session-start.sh')
| -rwxr-xr-x | rigel/.config/sway/veila-session-start.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/rigel/.config/sway/veila-session-start.sh b/rigel/.config/sway/veila-session-start.sh new file mode 100755 index 0000000..ee14fb3 --- /dev/null +++ b/rigel/.config/sway/veila-session-start.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# Called by Sway (exec_always). Starts the battery text updater only. +# +# The Veila daemon itself is managed by the OpenRC service +# /etc/init.d/veilad (with /usr/local/sbin/veilad-session-launch), which +# waits for this session, injects its environment and replaces stale +# daemons. The old nohup-in-Sway approach kept dead-session daemons around +# and silently broke every lock (see 2026-10-22), so it is gone. + +watcher=/home/nicholas/.config/veila/battery-watch.sh + +"$watcher" --once +"$watcher" >/dev/null 2>&1 </dev/null & |
