diff options
| author | Don Williams <don.e.williams@gmail.com> | 2025-11-26 19:27:11 -0500 |
|---|---|---|
| committer | Don Williams <don.e.williams@gmail.com> | 2025-11-26 19:27:11 -0500 |
| commit | ad195a38d680b602df752272cd35c364d78ea331 (patch) | |
| tree | 6b3e7cdd29444e146c2da95f1b1bfe421186ca06 /config | |
| parent | d0a64c6fda3fb62331ae6bb0c696358efed98ecd (diff) | |
Added keybinds for managine grouped windows
Trying to implement https://github.com/JaKooLit/Hyprland-Dots/pull/872
When SUPER RIGHT/LEFT work dynamically in and out of tabbed windows
So far not working Code is commented out for now.
On branch development
Your branch is up to date with 'origin/development'.
Changes to be committed:
modified: config/hypr/configs/Keybinds.conf
Diffstat (limited to 'config')
| -rw-r--r-- | config/hypr/configs/Keybinds.conf | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 89faf2f3..a4f3da34 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -98,9 +98,6 @@ bindd = $mainMod, P, toggle pseudo (dwindle), pseudo, # Works on either layout (Master or Dwindle) bindd = $mainMod, M, set split ratio 0.3, exec, hyprctl dispatch splitratio 0.3 -# group -bindd = $mainMod, G, toggle group, togglegroup -bindd = $mainMod CTRL, tab, change active in group, changegroupactive # Cycle windows; if floating bring to top bindd = ALT, tab, cycle next window, cyclenext @@ -150,6 +147,24 @@ bindd = $mainMod ALT, right, swap window right, swapwindow, r bindd = $mainMod ALT, up, swap window up, swapwindow, u bindd = $mainMod ALT, down, swap window down, swapwindow, d + group +bindd = $mainMod, G, toggle group, togglegroup + +# Navigate within a group +bindd = $mainMod, Tab, Change Group Forward, changegroupactive, f +bindd = $mainMod CTRL, tab, change active in group, changegroupactive +bindd = $mainMod SHIFT, Tab, Change Group Back, changegroupactive, b + +# Move window into/out of group +bindd = $mainMod CTRL, K, Move left into group, moveintogroup, l # Move active window left into a group A +bindd = $mainMod CTRL, L, Move Right into group, moveintogroup, r # Move active window right into a group +bindd = $mainMod CTRL, H, Move active out of group, moveoutofgroup # Move active window out of group + +# Try to dynamically move in grouped window and when ungrouped +# Not working for me DW 11/26/25 PR: https://github.com/JaKooLit/Hyprland-Dots/pull/872 +#bindd = $mainMod, right, focus right, exec, bash -c 'if hyprctl activewindow -j | jq -e "((.grouped | type) == \"boolean\") or (.address == (.grouped[-1] // empty))" >/dev/null 2>&1; then hyprctl dispatch movefocus r; else hyprctl dispatch changegroupactive f; fi' +#bindd = $mainMod, left, focus left, exec, bash -c 'if hyprctl activewindow -j | jq -e "((.grouped | type) == \"boolean\") or (.address == (.grouped[0] // empty))" >/dev/null 2>&1; then hyprctl dispatch movefocus l; else hyprctl dispatch changegroupactive b; fi' + # Move focus with mainMod + arrow keys bindd = $mainMod, left, focus left, movefocus, l bindd = $mainMod, right, focus right, movefocus, r |
