From cbecfc1b7cb34580b2634e439ffd8169546bb893 Mon Sep 17 00:00:00 2001 From: Don Williams Date: Sat, 11 Jul 2026 12:13:58 -0400 Subject: Adding qs-hyprview blur to keyubinding for persistence Signed-off-by: Don Williams 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 --- config/quickshell/qs-hyprview/modules/Hyprview.qml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'config/quickshell/qs-hyprview') 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 -- cgit v1.2.3