diff options
| author | Don Williams <don.e.williams@gmail.com> | 2025-11-14 12:27:19 -0500 |
|---|---|---|
| committer | Don Williams <don.e.williams@gmail.com> | 2025-11-14 12:27:19 -0500 |
| commit | 0a9484f35e7726c697e1e64b27355a5f9ebc53b0 (patch) | |
| tree | 28eeaa4e4967da875dbb30539c00023170360474 /config/hypr/scripts/ChangeLayout.sh | |
| parent | f9e882782d23b2869cd272841af12f7e0ce2ad37 (diff) | |
Fixed SUPER J/K ping ponging
On branch development
Your branch is up to date with 'origin/development'.
Changes to be committed:
new file: CHANGES-v2.3.18.md
modified: config/hypr/scripts/ChangeLayout.sh
modified: config/hypr/scripts/KeybindsLayoutInit.sh
Diffstat (limited to 'config/hypr/scripts/ChangeLayout.sh')
| -rwxr-xr-x | config/hypr/scripts/ChangeLayout.sh | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/config/hypr/scripts/ChangeLayout.sh b/config/hypr/scripts/ChangeLayout.sh index 78428188..e2436b79 100755 --- a/config/hypr/scripts/ChangeLayout.sh +++ b/config/hypr/scripts/ChangeLayout.sh @@ -9,20 +9,14 @@ LAYOUT=$(hyprctl -j getoption general:layout | jq '.str' | sed 's/"//g') case $LAYOUT in "master") hyprctl keyword general:layout dwindle - hyprctl keyword unbind SUPER,J - hyprctl keyword unbind SUPER,K - hyprctl keyword bind SUPER,J,cyclenext - hyprctl keyword bind SUPER,K,cyclenext,prev + # SUPER+J/K are global and managed by KeybindsLayoutInit.sh; only manage SUPER+O here hyprctl keyword bind SUPER,O,togglesplit notify-send -e -u low -i "$notif" " Dwindle Layout" ;; "dwindle") hyprctl keyword general:layout master - hyprctl keyword unbind SUPER,J - hyprctl keyword unbind SUPER,K + # Drop togglesplit binding on SUPER+O when switching back to master hyprctl keyword unbind SUPER,O - hyprctl keyword bind SUPER,J,layoutmsg,cyclenext - hyprctl keyword bind SUPER,K,layoutmsg,cycleprev notify-send -e -u low -i "$notif" " Master Layout" ;; *) ;; |
