aboutsummaryrefslogtreecommitdiff
path: root/rigel/.config/sway/veila-session-start.sh
blob: ee14fb32d22727b1b8f357eea1175e93cd894622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 &