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 | d5da9a6fd8049e3a72a1d18a9caeb7549d05a013 (patch) | |
| tree | dee923aa574a8711a67a765a702d64e1067bf282 /dotfiles/hyprland/.local/bin/layout-navigate | |
| parent | 53e50067b723c162d92202023338b31189958226 (diff) | |
| download | archsetup-d5da9a6fd8049e3a72a1d18a9caeb7549d05a013.tar.gz archsetup-d5da9a6fd8049e3a72a1d18a9caeb7549d05a013.zip | |
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 |
