aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmal.com>2026-07-11 12:13:58 -0400
committerPinapelz <yukais@pinapelz.com>2026-08-29 21:40:34 -0700
commitcbecfc1b7cb34580b2634e439ffd8169546bb893 (patch)
treeb06ab554af64b8d800527da2a4e4052fecb033f3 /config
parent1a2bb29ade16622a7c0d76a817300ff966d47a79 (diff)
Adding qs-hyprview blur to keyubinding for persistence
Signed-off-by: Don Williams <don.e.williams@gmal.com> Removed layer rules 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/LayerRules.conf modified: config/hypr/lua/keybinds.lua modified: config/quickshell/qs-hyprview/modules/Hyprview.qml
Diffstat (limited to 'config')
-rw-r--r--config/hypr/configs/Keybinds.conf4
-rw-r--r--config/hypr/configs/LayerRules.conf2
-rw-r--r--config/hypr/lua/keybinds.lua13
-rw-r--r--config/quickshell/qs-hyprview/modules/Hyprview.qml11
4 files changed, 18 insertions, 12 deletions
diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf
index 9d1514cd..fc13e1c7 100644
--- a/config/hypr/configs/Keybinds.conf
+++ b/config/hypr/configs/Keybinds.conf
@@ -141,9 +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, qs ipc -c qs-hyprview call expose toggle $layout
-#bind = ctrl, tab, exec, qs ipc -c qs-hyprview call expose open $layout
-#bind = ctrl, tab, exec, qs ipc -c qs-hyprview call expose close
+bind = ctrl, tab, exec, hyprctl keyword layerrule "match:namespace quickshell:expose, blur on, ignore_alpha 0" && qs ipc -c qs-hyprview call expose toggle $layout
# Cycle windows; if floating bring to top
bindd = ALT, Tab, Cycle next window, cyclenext
diff --git a/config/hypr/configs/LayerRules.conf b/config/hypr/configs/LayerRules.conf
index a08d40b7..b5751644 100644
--- a/config/hypr/configs/LayerRules.conf
+++ b/config/hypr/configs/LayerRules.conf
@@ -13,6 +13,8 @@ layerrule = match:namespace notifications, blur on, ignore_alpha 0, animation sl
layerrule = match:namespace quickshell:overview, blur on, ignore_alpha 0.5
layerrule = match:namespace quickshell:expose, dim_around on
layerrule = match:namespace quickshell:expose, blur on, ignore_alpha 0
+# Compatibility fallback for Hyprland builds/parsers that still expect classic layerrule syntax
+layerrule = dimaround, quickshell:expose
layerrule = match:namespace wallpaper, blur on, ignore_alpha 0
# swaync + helper overlays
diff --git a/config/hypr/lua/keybinds.lua b/config/hypr/lua/keybinds.lua
index 697801ff..600a1a75 100644
--- a/config/hypr/lua/keybinds.lua
+++ b/config/hypr/lua/keybinds.lua
@@ -330,16 +330,13 @@ local qs_hyprview_layout = "smartgrid"
bind(
"CTRL",
"tab",
- exec_cmd("qs ipc -c qs-hyprview call expose toggle " .. qs_hyprview_layout),
+ exec_cmd(
+ "hyprctl keyword layerrule \"match:namespace quickshell:expose, blur on, ignore_alpha 0\" && "
+ .. "qs ipc -c qs-hyprview call expose toggle "
+ .. qs_hyprview_layout
+ ),
{ description = "qs-hyprview toggle" }
)
-bind(
- "CTRL",
- "tab",
- exec_cmd("qs ipc -c qs-hyprview call expose open " .. qs_hyprview_layout),
- { description = "qs-hyprview open" }
-)
-bind("CTRL", "tab", exec_cmd("qs ipc -c qs-hyprview call expose close"), { description = "qs-hyprview close" })
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
diff --git a/config/quickshell/qs-hyprview/modules/Hyprview.qml b/config/quickshell/qs-hyprview/modules/Hyprview.qml
index 3eafc5e3..d5d8d873 100644
--- a/config/quickshell/qs-hyprview/modules/Hyprview.qml
+++ b/config/quickshell/qs-hyprview/modules/Hyprview.qml
@@ -23,13 +23,14 @@ PanelWindow {
property bool specialActive: false
property bool animateWindows: false
property var lastPositions: {}
+ property real backdropOpacity: 0.12
anchors { top: true; bottom: true; left: true; right: true }
color: "transparent"
visible: isActive
// LayerShell Configs
- WlrLayershell.layer: WlrLayer.Overlay
+ WlrLayershell.layer: WlrLayer.Top
WlrLayershell.exclusiveZone: -1
WlrLayershell.keyboardFocus: isActive ? WlrKeyboardFocus.Exclusive : WlrKeyboardFocus.None
WlrLayershell.namespace: "quickshell:expose"
@@ -152,6 +153,14 @@ PanelWindow {
anchors.fill: parent
focus: true
+ Rectangle {
+ anchors.fill: parent
+ color: "#000000"
+ opacity: root.isActive ? root.backdropOpacity : 0
+ visible: root.isActive && root.backdropOpacity > 0
+ z: -2
+ }
+
Keys.onPressed: (event) => {
if (!root.isActive) return
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage