quickshell: apply layerrules via hyprctl keyword at startup
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
76b8a00bb1
commit
8d20250f80
1 changed files with 4 additions and 7 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue