aboutsummaryrefslogtreecommitdiff
path: root/rigel/.config/sway/veila-session-start.sh
diff options
context:
space:
mode:
authorNick Moore <nicholasvmoore@gmail.com>2026-11-07 09:20:22 -0600
committerNick Moore <nicholasvmoore@gmail.com>2026-11-07 09:20:22 -0600
commit6c4039aebbe7ec25f47cb4623e44b96373e9e6e5 (patch)
tree6b29ac15408e586c41d6bc91561294709c87a962 /rigel/.config/sway/veila-session-start.sh
parent34abcb44caf7266ce40063daca05a2a06f1b26c7 (diff)
Track sway (shared + rigel machine overlay), replace fibonacci with dwm-dwindle listener
- sway package: shared config (styling, all muscle-memory binds, no exec lines) including ~/.config/sway/machines/*.conf overlays included LAST; floating_windows + machines/README contract; sway/AGENTS.md doctrine - rigel package: machine overlay (outputs, touchpad, session stack, power bindings) + session scripts now stow-managed; fibonacci.py replaced by a POSIX sh+jq dwindle listener (dwm dwindle geometry, --monitor subscription, mark+move re-home, flock singleton); machines/rigel.conf exec line updated to the new path - validated in a headless nested sway against a literal port of fibonacci.c: five- and seven-window trees plus refocus-before-spawn all match dwm's rects (modulo the bar offset)
Diffstat (limited to 'rigel/.config/sway/veila-session-start.sh')
-rwxr-xr-xrigel/.config/sway/veila-session-start.sh13
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 &