From 6c4039aebbe7ec25f47cb4623e44b96373e9e6e5 Mon Sep 17 00:00:00 2001 From: Nick Moore Date: Sat, 7 Nov 2026 09:20:22 -0600 Subject: 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) --- rigel/.config/sway/veila-session-start.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 rigel/.config/sway/veila-session-start.sh (limited to 'rigel/.config/sway/veila-session-start.sh') 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