diff options
| author | Don Williams <don.e.williams@gmail.com> | 2026-07-28 18:32:35 -0400 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-08-29 21:41:34 -0700 |
| commit | ee157217173f5ca603559d570f7ddc48b89e0979 (patch) | |
| tree | 8aaf95342830f0a88e5198f653e71884b4324191 /config/hypr/lua/keybinds.lua | |
| parent | ccb2831ea1743f8d19cf1f608cee234d35a56d8d (diff) | |
Changed CTRL-TAB to ALT-TAB for hyprview
ALT-TAB used in many apps
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: CHANGELOG.md
modified: config/hypr/configs/Keybinds.conf
modified: config/hypr/lua/keybinds.lua
Diffstat (limited to 'config/hypr/lua/keybinds.lua')
| -rw-r--r-- | config/hypr/lua/keybinds.lua | 34 |
1 files changed, 10 insertions, 24 deletions
diff --git a/config/hypr/lua/keybinds.lua b/config/hypr/lua/keybinds.lua index 82ccbfa7..9edbe8f3 100644 --- a/config/hypr/lua/keybinds.lua +++ b/config/hypr/lua/keybinds.lua @@ -330,12 +330,9 @@ bind( -- "satellite", "staggered", "columnar", "vortex", "random" local qs_hyprview_layout = "smartgrid" bind( - "CTRL", + "ALT", "tab", - exec_cmd( - "$HOME/.config/hypr/scripts/toggle-qs-hyprview.sh " - .. qs_hyprview_layout - ), + exec_cmd("$HOME/.config/hypr/scripts/toggle-qs-hyprview.sh " .. qs_hyprview_layout), { description = "qs-hyprview toggle" } ) local col_width_presets = { 0.25, 0.33, 0.5, 0.66, 0.75, 1.0 } @@ -372,7 +369,11 @@ local function _monitor_width(win) if hl.get_active_monitor then local active_mon = hl.get_active_monitor() if type(active_mon) == "table" then - local w = _as_number(active_mon.width or active_mon.w or (type(active_mon.size) == "table" and (active_mon.size[1] or active_mon.size.width))) + local w = _as_number( + active_mon.width + or active_mon.w + or (type(active_mon.size) == "table" and (active_mon.size[1] or active_mon.size.width)) + ) if w ~= nil then return w end @@ -561,25 +562,10 @@ bind( -- exec_cmd("bash $HOME/.config/hypr/scripts/ResizeActive.sh 0 50"), -- { description = "resize down (+50)" } -- ) -bind( - "SUPER SHIFT", - "left", - dispatch("resizeactive", "-50 0"), - { description = "resize left (-50)" } -) -bind( - "SUPER SHIFT", - "right", - dispatch("resizeactive", "50 0"), - { description = "resize right (+50)" } -) +bind("SUPER SHIFT", "left", dispatch("resizeactive", "-50 0"), { description = "resize left (-50)" }) +bind("SUPER SHIFT", "right", dispatch("resizeactive", "50 0"), { description = "resize right (+50)" }) bind("SUPER SHIFT", "up", dispatch("resizeactive", "0 -50"), { description = "resize up (-50)" }) -bind( - "SUPER SHIFT", - "down", - dispatch("resizeactive", "0 50"), - { description = "resize down (+50)" } -) +bind("SUPER SHIFT", "down", dispatch("resizeactive", "0 50"), { description = "resize down (+50)" }) -- Keep legacy directional move script binds commented for rollback during Lua API migration. -- Native movewindow dispatch below replaces LuaMoveWindowDirectional.sh usage. -- bind( |
