Fix graceful window closing before reboot

This commit is contained in:
David Heinemeier Hansson
2026-07-16 21:19:28 -07:00
parent 93181b6a22
commit b79ae75833
2 changed files with 34 additions and 1 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
hyprctl clients -j | \
jq -r ".[].address" | \
while read -r addr; do
hyprctl dispatch "hl.dsp.window.close(\"address:$addr\")" >/dev/null 2>&1 || hyprctl dispatch closewindow "address:$addr"
hyprctl dispatch "hl.dsp.window.close({ window = \"address:$addr\" })" >/dev/null
done
# Move to first workspace