From 8d20250f80149ea14da61f059bc1423a9b5330f7 Mon Sep 17 00:00:00 2001 From: rope Date: Wed, 27 May 2026 12:39:39 +0100 Subject: [PATCH] quickshell: apply layerrules via hyprctl keyword at startup Co-Authored-By: Claude Opus 4.6 --- settings/hyprland.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 30a4b8b..0314afe 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -120,13 +120,6 @@ in shadow.color = rgba c.base00 "99"; }; - layerrule = [ - "blur, quickshell-bar" - "blur, quickshell-toast" - "ignorealpha 0.3, quickshell-bar" - "ignorealpha 0.3, quickshell-toast" - ]; - group = { "col.border_active" = rgb c.base0D; "col.border_inactive" = rgb c.base03; @@ -252,6 +245,10 @@ in hl.exec_cmd("wl-paste --type text --watch cliphist store") hl.exec_cmd("wl-paste --type image --watch cliphist store") hl.exec_cmd("hyprctl setcursor Bibata-Modern-Ice 24") + hl.exec_cmd("hyprctl keyword layerrule 'blur, quickshell-bar'") + hl.exec_cmd("hyprctl keyword layerrule 'blur, quickshell-toast'") + hl.exec_cmd("hyprctl keyword layerrule 'ignorealpha 0.3, quickshell-bar'") + hl.exec_cmd("hyprctl keyword layerrule 'ignorealpha 0.3, quickshell-toast'") hl.exec_cmd("swayosd-server") ${lib.optionalString isMacbook ''hl.exec_cmd("hypridle")''} end)