qs: add replay functionality (yet disabled)

This commit is contained in:
2026-03-09 22:58:23 +01:00
parent 9fc7ab92ff
commit 5a0f7f3ef3
8 changed files with 152 additions and 29 deletions
@@ -3,11 +3,16 @@
pid=$(pgrep -x quickshell)
[ -z "$pid" ] && exit 1
for child in $(pgrep -P "$pid" 2>/dev/null); do
kill "$child"
done
# for child in $(pgrep -P "$pid" 2>/dev/null); do
# kill "$child"
# done
sleep 0.3
children=$(pgrep -P "$pid" 2>/dev/null)
kill "$pid"
sleep 0.5
for child in $children; do
kill "$child" || true
done