From 1411c2be09632ca099bee8f61e2b73a21c5b0cc9 Mon Sep 17 00:00:00 2001 From: Don Williams Date: Sat, 11 Jul 2026 20:27:48 -0400 Subject: Added layyer rule for qs-hyprview to set blur Signed-off-by: Don Williams On branch development Your branch is up to date with 'origin/development'. Changes to be committed: new file: config/hypr/configs/system_layer_rules.lua --- config/hypr/configs/system_layer_rules.lua | 105 +++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 config/hypr/configs/system_layer_rules.lua (limited to 'config/hypr') diff --git a/config/hypr/configs/system_layer_rules.lua b/config/hypr/configs/system_layer_rules.lua new file mode 100644 index 00000000..14d29f8c --- /dev/null +++ b/config/hypr/configs/system_layer_rules.lua @@ -0,0 +1,105 @@ +-- ================================================== +-- KoolDots (2026) +-- Project URL: https://github.com/LinuxBeginnings +-- License: GNU GPLv3 +-- SPDX-License-Identifier: GPL-3.0-or-later +-- ================================================== + +-- System defaults migrated from configs/LayerRules.conf (auto-generated). +-- Add additional rules with apply_layer_rule({...}). +-- Example: +-- apply_layer_rule({ +-- name = "My Layer Rule", +-- match = { namespace = "rofi" }, +-- blur = true, +-- }) + +local function apply_layer_rule(rule) + if hl.layer_rule then + hl.layer_rule(rule) + end +end + +-- Converted from configs/LayerRules.conf +apply_layer_rule({ + name = "system-layer-layerrule-001", + match = { + namespace = "rofi", + }, + blur = true, + ignore_alpha = 0, + animation = "slide", +}) + +apply_layer_rule({ + name = "system-layer-layerrule-002", + match = { + namespace = "notifications", + }, + blur = true, + ignore_alpha = 0, + animation = "slide", +}) + +apply_layer_rule({ + name = "system-layer-layerrule-003", + match = { + namespace = "quickshell:overview", + }, + blur = true, + ignore_alpha = 0.5, +}) + +apply_layer_rule({ + name = "system-layer-layerrule-004", + match = { + namespace = "quickshell:expose", + }, + dim_around = true, +}) + +apply_layer_rule({ + name = "system-layer-layerrule-005", + match = { + namespace = "quickshell:expose", + }, + blur = true, + ignore_alpha = 0, + xray = true, +}) + +apply_layer_rule({ + name = "system-layer-layerrule-006", + match = { + namespace = "wallpaper", + }, + blur = true, + ignore_alpha = 0, +}) + +apply_layer_rule({ + name = "system-layer-layerrule-007", + match = { + namespace = "swaync-notification-window", + }, + blur = true, + ignore_alpha = 0, +}) + +apply_layer_rule({ + name = "system-layer-layerrule-008", + match = { + namespace = "com.aurora.keybinds_help", + }, + blur = true, + ignore_alpha = 0, +}) + +apply_layer_rule({ + name = "system-layer-layerrule-009", + match = { + namespace = "logout_dialog", + }, + blur = true, + ignore_alpha = 0, +}) -- cgit v1.2.3