summaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.local/bin/layout-navigate
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/hyprland/.local/bin/layout-navigate')
-rwxr-xr-xdotfiles/hyprland/.local/bin/layout-navigate6
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