feat: marking windows, then closing/moving them to current workspace

This commit is contained in:
2025-07-04 13:08:01 +03:00
parent aaab0749e8
commit 8204eeb47b
5 changed files with 76 additions and 4 deletions

15
hypr/scripts/close_marked.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
count_closed = 0
while true; do
result=$(hyprctl dispatch closewindow tag:marked)
if [ "$result" != "closeWindow: no window found" ]; then
echo "closed window because '$result'"
((count_closed++))
else
echo "exiting due to '$result'"
break
fi
done