#!/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