Fix lack of quotes for multi-line batches

Closes #3597
This commit is contained in:
David Heinemeier Hansson
2025-11-25 11:52:43 +01:00
parent 8cca056b90
commit 77fd86ae93

View File

@@ -26,9 +26,9 @@ addr=$(echo "$active" | jq -r ".address")
if [[ $pinned == "true" ]]; then
hyprctl -q --batch \
dispatch pin address:$addr; \
dispatch togglefloating address:$addr; \
dispatch tagwindow -pop address:$addr;
"dispatch pin address:$addr;" \
"dispatch togglefloating address:$addr;" \
"dispatch tagwindow -pop address:$addr;"
elif [[ -n $addr ]]; then
hyprctl dispatch togglefloating address:$addr
hyprctl dispatch resizeactive exact $width $height address:$addr
@@ -40,7 +40,7 @@ elif [[ -n $addr ]]; then
fi
hyprctl -q --batch \
dispatch pin address:$addr; \
dispatch alterzorder top address:$addr; \
dispatch tagwindow +pop address:$addr;
"dispatch pin address:$addr;" \
"dispatch alterzorder top address:$addr;" \
"dispatch tagwindow +pop address:$addr;"
fi