From 626ca211d3a3822ce3310c0cab93108aa6bf9be3 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Fri, 16 Oct 2026 14:38:02 -0400 Subject: [PATCH] feat(umbriel): add smart window movement and update layout keybindings --- dot_config/umbriel/binds.toml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/dot_config/umbriel/binds.toml b/dot_config/umbriel/binds.toml index ff72656..e6ba9f6 100644 --- a/dot_config/umbriel/binds.toml +++ b/dot_config/umbriel/binds.toml @@ -84,8 +84,10 @@ # ------------------------------------------------------------------------------ # Move -"Mod+Shift+H" = "column-move-left" -"Mod+Shift+L" = "column-move-right" +# niri's consume-or-expel, then on to the next output at the strip's end +# (umbriel-smart-move). +"Mod+Shift+H" = "spawn:~/.local/bin/umbriel-smart-move left" +"Mod+Shift+L" = "spawn:~/.local/bin/umbriel-smart-move right" "Super+Ctrl+Shift+H" = "column-move-to-first" "Super+Ctrl+Shift+L" = "column-move-to-last" "Mod+Shift+J" = "column-move-to-workspace-next" @@ -110,10 +112,11 @@ "Mod+Ctrl+F" = { action = "window-toggle-fullscreen", repeat = false } "Mod+C" = "column-center" "Mod+Ctrl+O" = { action = "window-toggle-floating", repeat = false } -# Super+W flips the active workspace between scrolling and master (Hyprland's -# omarchy-toggle-layout); tabbing a column moves to Super+Shift+W. -"Mod+W" = { action = "workspace-set-layout:toggle:scrolling,master", repeat = false } -"Mod+Shift+W" = { action = "column-toggle-tabbed", repeat = false } +# Super+W flips the active workspace between scrolling and dwindle (Hyprland's +# omarchy-toggle-layout). Super+G tabs the focused window with the windows +# stacked beside it, or stacks a tab group again (Hyprland's group key). +"Mod+W" = { action = "workspace-set-layout:toggle:scrolling,dwindle", repeat = false } +"Mod+G" = { action = "column-toggle-tabbed", repeat = false } "Mod+Q" = { action = "window-close", repeat = false } # ------------------------------------------------------------------------------