From 76d9145e880739b3b1bf215ae47538a7339fbd00 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 4 Feb 2026 21:32:55 -0800 Subject: [PATCH] Fix gather-class to move all windows --- dotfiles/config/hypr/scripts/gather-class.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/config/hypr/scripts/gather-class.sh b/dotfiles/config/hypr/scripts/gather-class.sh index 92dca803..927a95a0 100755 --- a/dotfiles/config/hypr/scripts/gather-class.sh +++ b/dotfiles/config/hypr/scripts/gather-class.sh @@ -24,7 +24,7 @@ fi COUNT=0 for ADDR in $WINDOWS; do hyprctl dispatch movetoworkspace "$CURRENT_WS,address:$ADDR" - ((COUNT++)) + COUNT=$((COUNT + 1)) done notify-send "Gather Class" "Gathered $COUNT windows of class '$FOCUSED_CLASS'"