diff --git a/dots/hyprland/hyprland.conf b/dots/hyprland/hyprland.conf index 3670698..9020dc6 100644 --- a/dots/hyprland/hyprland.conf +++ b/dots/hyprland/hyprland.conf @@ -274,8 +274,10 @@ bind = , PRINT, exec, hyprshot -m region # region # view mode #bind = $mainMod, M, exec, hyprctl keyword general:layout "master" # M_master #bind = $mainMod, N, exec, hyprctl keyword general:layout "dwindle" # dwi_N_dle -bind = $mainMod, M, layoutmsg, swapwithmaster master -bind = $mainMod, N, layoutmsg, swapwithmaster dwindle +#bind = $mainMod, M, layoutmsg, swapwithmaster master +#bind = $mainMod, N, layoutmsg, swapwithmaster dwindle +# cycle in between dwindle and masterS +bind = $mainMod + L, exec, sh -c 'if hyprctl -j getoption general:layout | jq -r .str | grep -q "dwindle"; then hyprctl keyword general:layout master; else hyprctl keyword general:layout dwindle; fi' # split mode #bind = $mainMod, H, layoutmsg, preselect r # next window to the right (horizontal mode)