[Update] bulk update

This commit is contained in:
2026-09-17 20:45:06 +02:00
committed by Coja
parent 3ec2503f38
commit ed7e34552d
158 changed files with 3258 additions and 2419 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
# enable float
WinFloat=$(hyprctl -j clients | jq '.[] | select(.focusHistoryID == 0) | .floating')
WinPinned=$(hyprctl -j clients | jq '.[] | select(.focusHistoryID == 0) | .pinned')
if [ "${WinFloat}" == "false" ] && [ "${WinPinned}" == "false" ] ; then
hyprctl dispatch togglefloating active
fi
# toggle pin
hyprctl dispatch pin active
# disable float
WinFloat=$(hyprctl -j clients | jq '.[] | select(.focusHistoryID == 0) | .floating')
WinPinned=$(hyprctl -j clients | jq '.[] | select(.focusHistoryID == 0) | .pinned')
if [ "${WinFloat}" == "true" ] && [ "${WinPinned}" == "false" ] ; then
hyprctl dispatch togglefloating active
fi