diff options
| author | Craig Jennings <c@cjennings.net> | 2026-03-07 11:18:18 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-03-07 11:18:18 -0600 |
| commit | 2d75b3ea4dc6d58b476e9ca435639cf5a6dacd60 (patch) | |
| tree | 451a97432521703c3d32b914be60d249d91e8394 /dotfiles/hyprland/.local/bin/layout-navigate | |
| parent | b6cfe80008c038eca90b8dc35ab9ba703b411524 (diff) | |
feat(hyprland): add monocle layout support, fix scrolling keybindings
Add monocle to layout cycle and waybar indicator. Fix scrolling layout
move (swapwindow) and resize (resizeactive). Add layout-resize script.
Diffstat (limited to 'dotfiles/hyprland/.local/bin/layout-navigate')
| -rwxr-xr-x | dotfiles/hyprland/.local/bin/layout-navigate | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dotfiles/hyprland/.local/bin/layout-navigate b/dotfiles/hyprland/.local/bin/layout-navigate index 085df22..07f748a 100755 --- a/dotfiles/hyprland/.local/bin/layout-navigate +++ b/dotfiles/hyprland/.local/bin/layout-navigate @@ -10,12 +10,12 @@ LAYOUT=$(hyprctl getoption general:layout -j | jq -r '.str') case "$LAYOUT" in scrolling) - # Swap directions: J (next) goes left, K (prev) goes right + # J (next) goes left, K (prev) goes right if [ "$MOVE" = "move" ]; then if [ "$DIR" = "next" ]; then - hyprctl dispatch layoutmsg movewindowto l + hyprctl dispatch swapwindow l else - hyprctl dispatch layoutmsg movewindowto r + hyprctl dispatch swapwindow r fi else if [ "$DIR" = "next" ]; then |
