diff options
| author | Don Williams <don.e.williams@gmail.com> | 2026-08-06 15:26:04 -0400 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-08-29 21:41:34 -0700 |
| commit | 03d6f73b1b3e50f052a3c5bca24102958be7dfc6 (patch) | |
| tree | 8f3321cc6c95c860d62ec8753cc06e619c63c4aa /config/hypr | |
| parent | 18bebb8b1c82ce894d988ab285c3afe4ec2e2c45 (diff) | |
Fixed bindings for overview add ver chk to copy.sh
Signed-off-by: Don Williams <don.e.williams@gmail.com>
On branch development
Your branch is up to date with 'origin/development'.
Changes to be committed:
modified: config/hypr/configs/Keybinds.conf
modified: config/hypr/configs/system_keybinds.lua
modified: config/hypr/lua/keybinds.lua
modified: copy.sh
modified: docs/Keybinds.md
Diffstat (limited to 'config/hypr')
| -rw-r--r-- | config/hypr/configs/Keybinds.conf | 10 | ||||
| -rw-r--r-- | config/hypr/configs/system_keybinds.lua | 17 | ||||
| -rw-r--r-- | config/hypr/lua/keybinds.lua | 19 |
3 files changed, 23 insertions, 23 deletions
diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 7a7712bc..612ecc95 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -133,16 +133,13 @@ bindd = $mainMod ALT, S, Toggle scrolling V/H, exec, bash -c '[[ $(hyprctl getop ################### -# qs-hyproverview # +# qs-hyprview # ################### - # "smartgrid", "justified", "masonry", "bands", "hero", "spiral" # "satellite", "staggered", "columnar", "vortex", "random" +# SUPER CTRL+Tab is reserved for Hyprview; bound after Tab workspace/group binds below. $layout = 'smartgrid' -# Or, using XDG_CONFIG_HOME: -bindd = $mainMod SHIFT, tab, Toggle HyprView, exec, $scriptsDir/toggle-qs-hyprview.sh $layout - # Cycle windows; if floating bring to top bindd = ALT, Tab, Cycle next window, cyclenext bindd = ALT, Tab, Bring active to top, bringactivetotop @@ -197,8 +194,8 @@ bindd = $mainMod ALT, down, Swap window down, swapwindow, d bindd = $mainMod, G, Toggle group, togglegroup # Navigate within a group +# SUPER CTRL+Tab is Hyprview Toggle (not change active in 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 @@ -220,6 +217,7 @@ bindd = $mainMod, down, Focus down (layout-aware), exec, $scriptsDir/LayoutKeybi # Workspaces related bindd = $mainMod, tab, Next workspace, workspace, m+1 bindd = $mainMod SHIFT, tab, Previous workspace, workspace, m-1 +bindd = $mainMod CTRL, tab, Hyprview Toggle, exec, $scriptsDir/toggle-qs-hyprview.sh $layout # Special workspace bindd = $mainMod SHIFT, U, Move to special workspace, movetoworkspace, special diff --git a/config/hypr/configs/system_keybinds.lua b/config/hypr/configs/system_keybinds.lua index 9e6e7ebd..b8f66666 100644 --- a/config/hypr/configs/system_keybinds.lua +++ b/config/hypr/configs/system_keybinds.lua @@ -521,15 +521,9 @@ bind( ), { description = "toggle scrolling V/H" } ) +-- Hyprview: SUPER CTRL+Tab (bound later after workspace/group Tab binds) -- "smartgrid", "justified", "masonry", "bands", "hero", "spiral" -- "satellite", "staggered", "columnar", "vortex", "random" -local qs_hyprview_layout = "smartgrid" -bind( - "CTRL", - "tab", - exec_cmd("$HOME/.config/hypr/scripts/toggle-qs-hyprview.sh"), - { description = "qs-hyprview toggle" } -) bind("ALT", "Tab", dispatch("cyclenext", ""), { description = "cycle next window" }) bind("ALT", "Tab", dispatch("bringactivetotop", ""), { description = "bring active to top" }) bind( @@ -661,7 +655,7 @@ bind("SUPER ALT", "up", dispatch("swapwindow", "u"), { description = "swap windo bind("SUPER ALT", "down", dispatch("swapwindow", "d"), { description = "swap window down" }) bind("SUPER", "G", dispatch("togglegroup", ""), { description = "toggle group" }) bind("SUPER", "Tab", dispatch("changegroupactive", "f"), { description = "Change Group Forward" }) -bind("SUPER CTRL", "tab", dispatch("changegroupactive", ""), { description = "change active in group" }) +-- SUPER CTRL+Tab is Hyprview Toggle (not change active in group) bind("SUPER SHIFT", "Tab", dispatch("changegroupactive", "b"), { description = "Change Group Back" }) bind("SUPER CTRL", "K", dispatch("moveintogroup", "l"), { description = "Move left into group" }) bind("SUPER CTRL", "L", dispatch("moveintogroup", "r"), { description = "Move Right into group" }) @@ -692,6 +686,13 @@ bind( ) bind("SUPER", "tab", dispatch("workspace", "m+1"), { description = "next workspace" }) bind("SUPER SHIFT", "tab", dispatch("workspace", "m-1"), { description = "previous workspace" }) +local qs_hyprview_layout = "smartgrid" +bind( + "SUPER CTRL", + "tab", + exec_cmd("$HOME/.config/hypr/scripts/toggle-qs-hyprview.sh " .. qs_hyprview_layout), + { description = "Hyprview Toggle" } +) bind("SUPER SHIFT", "U", dispatch("movetoworkspace", "special"), { description = "move to special workspace" }) bind("SUPER", "U", dispatch("togglespecialworkspace", ""), { description = "toggle special workspace" }) bind("SUPER", "code:10", dispatch("workspace", "1"), { description = "workspace 1" }) diff --git a/config/hypr/lua/keybinds.lua b/config/hypr/lua/keybinds.lua index 6dd188c3..5c1db96e 100644 --- a/config/hypr/lua/keybinds.lua +++ b/config/hypr/lua/keybinds.lua @@ -325,16 +325,10 @@ bind( ), { description = "toggle scrolling V/H" } ) --- Section: qs-hyprview expose controls +-- Section: Hyprview expose controls -- "smartgrid", "justified", "masonry", "bands", "hero", "spiral" -- "satellite", "staggered", "columnar", "vortex", "random" -local qs_hyprview_layout = "smartgrid" -bind( - "SUPER SHIFT", - "tab", - exec_cmd("$HOME/.config/hypr/scripts/toggle-qs-hyprview.sh " .. qs_hyprview_layout), - { description = "qs-hyprview toggle" } -) +-- Bound later (after SUPER SHIFT/CTRL tab workspace/group binds) so the combo is not overwritten. local col_width_presets = { 0.25, 0.33, 0.5, 0.66, 0.75, 1.0 } local function _as_number(v) if type(v) == "number" then @@ -607,7 +601,6 @@ bind( ) bind("SUPER", "G", dispatch("togglegroup", ""), { description = "toggle group" }) bind("SUPER", "Tab", dispatch("changegroupactive", "f"), { description = "Change Group Forward" }) -bind("SUPER CTRL", "tab", dispatch("changegroupactive", ""), { description = "change active in group" }) bind("SUPER SHIFT", "Tab", dispatch("changegroupactive", "b"), { description = "Change Group Back" }) bind("SUPER CTRL", "J", dispatch("moveintogroup", "l"), { description = "Move left into group" }) bind("SUPER CTRL", "H", dispatch("moveoutofgroup", ""), { description = "Move active out of group" }) @@ -653,6 +646,14 @@ bind( -- ) bind("SUPER", "tab", dispatch("workspace", "e+1"), { description = "next workspace" }) bind("SUPER SHIFT", "tab", dispatch("workspace", "e-1"), { description = "previous workspace" }) +-- Hyprview: SUPER CTRL+Tab (avoids SUPER SHIFT+Tab used by previous workspace / group back) +local qs_hyprview_layout = "smartgrid" +bind( + "SUPER CTRL", + "tab", + exec_cmd("$HOME/.config/hypr/scripts/toggle-qs-hyprview.sh " .. qs_hyprview_layout), + { description = "Hyprview Toggle" } +) bind("SUPER SHIFT", "U", dispatch("movetoworkspace", "special"), { description = "move to special workspace" }) bind("SUPER", "U", dispatch("togglespecialworkspace", ""), { description = "toggle special workspace" }) bind("SUPER", "code:10", dispatch("workspace", "1"), { description = "workspace 1" }) |
