From e3e49d51f4be1e1a4deedaca36a784a80c93f1c5 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'"