From aceb5ce214c4dac4c7488e3f78438df94fe84409 Mon Sep 17 00:00:00 2001 From: Don Williams Date: Sat, 11 Jul 2026 20:33:07 -0400 Subject: Fixing settings for ovewivew / qs-hyprview Signed-off-by: Don Williams 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: config/hypr/lua/layer_rules.lua new file: config/quickshell/overview/config.json --- config/hypr/configs/Keybinds.conf | 2 +- config/hypr/configs/system_keybinds.lua | 12 ++++++++++++ config/hypr/lua/keybinds.lua | 5 +++-- config/hypr/lua/layer_rules.lua | 1 + config/quickshell/overview/config.json | 6 ++++++ 5 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 config/quickshell/overview/config.json (limited to 'config') diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index c0b924a7..c867b338 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -141,7 +141,7 @@ bindd = $mainMod ALT, S, Toggle scrolling V/H, exec, bash -c '[[ $(hyprctl getop $layout = 'smartgrid' # Or, using XDG_CONFIG_HOME: -bind = ctrl, tab, exec, hyprctl keyword layerrule "match:namespace quickshell:expose, blur on, ignore_alpha 0, xray on" && qs ipc -c qs-hyprview call expose toggle $layout +bind = ctrl, tab, exec, qs -c qs-hyprview ipc call expose toggle $layout # Cycle windows; if floating bring to top bindd = ALT, Tab, Cycle next window, cyclenext diff --git a/config/hypr/configs/system_keybinds.lua b/config/hypr/configs/system_keybinds.lua index 8223ecb9..e8590062 100644 --- a/config/hypr/configs/system_keybinds.lua +++ b/config/hypr/configs/system_keybinds.lua @@ -305,6 +305,18 @@ bind("SUPER ALT", "period", dispatch("layoutmsg", "swapcol r"), { description = bind("SUPER ALT", "H", exec_cmd("hyprctl keyword scrolling:direction right"), { description = "Horizonal scroll right" }) bind("SUPER ALT", "V", exec_cmd("hyprctl keyword scrolling:direction down"), { description = "Vertical Scroll down" }) bind("SUPER ALT", "S", exec_cmd("bash -c '[[ $(hyprctl getoption scrolling:direction -j | jq -r \".str\") == \"right\" ]] && hyprctl keyword scrolling:direction down || hyprctl keyword scrolling:direction right'"), { description = "toggle scrolling V/H" }) +-- "smartgrid", "justified", "masonry", "bands", "hero", "spiral" +-- "satellite", "staggered", "columnar", "vortex", "random" +local qs_hyprview_layout = "smartgrid" +bind( + "CTRL", + "tab", + exec_cmd( + "qs -c qs-hyprview ipc call expose toggle " + .. qs_hyprview_layout + ), + { description = "qs-hyprview toggle" } +) bind("ALT", "Tab", dispatch("cyclenext", ""), { description = "cycle next window" }) bind("ALT", "Tab", dispatch("bringactivetotop", ""), { description = "bring active to top" }) bind("", "xf86audioraisevolume", exec_cmd("$HOME/.config/hypr/scripts/Volume.sh --inc"), { description = "volume up", locked = true, ["repeat"] = true }) diff --git a/config/hypr/lua/keybinds.lua b/config/hypr/lua/keybinds.lua index 600a1a75..25c72490 100644 --- a/config/hypr/lua/keybinds.lua +++ b/config/hypr/lua/keybinds.lua @@ -326,13 +326,14 @@ bind( { description = "toggle scrolling V/H" } ) -- Section: qs-hyprview expose controls +-- "smartgrid", "justified", "masonry", "bands", "hero", "spiral" +-- "satellite", "staggered", "columnar", "vortex", "random" local qs_hyprview_layout = "smartgrid" bind( "CTRL", "tab", exec_cmd( - "hyprctl keyword layerrule \"match:namespace quickshell:expose, blur on, ignore_alpha 0\" && " - .. "qs ipc -c qs-hyprview call expose toggle " + "qs -c qs-hyprview ipc call expose toggle " .. qs_hyprview_layout ), { description = "qs-hyprview toggle" } diff --git a/config/hypr/lua/layer_rules.lua b/config/hypr/lua/layer_rules.lua index db23d20a..038fcb37 100644 --- a/config/hypr/lua/layer_rules.lua +++ b/config/hypr/lua/layer_rules.lua @@ -57,6 +57,7 @@ apply_layer_rule({ }, blur = true, ignore_alpha = 0, + xray = true, }) apply_layer_rule({ diff --git a/config/quickshell/overview/config.json b/config/quickshell/overview/config.json new file mode 100644 index 00000000..9b7a723a --- /dev/null +++ b/config/quickshell/overview/config.json @@ -0,0 +1,6 @@ +{ + "overview": { + "hideEmptyRows": false, + "showSpecialWorkspaces": false + } +} -- cgit v1.2.3