From 8c20fdf93cdfbba859d3834cbc3f520b5cacb42f Mon Sep 17 00:00:00 2001 From: rope Date: Wed, 27 May 2026 12:30:16 +0100 Subject: [PATCH] quickshell: add blur behind bar and toasts, reduce opacity to 70% Co-Authored-By: Claude Opus 4.6 --- settings/hyprland.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index a0308d4..30a4b8b 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -120,6 +120,13 @@ 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; @@ -531,7 +538,7 @@ in readonly property color base0B: "#${c.base0B}" readonly property color base0C: "#${c.base0C}" readonly property color base0D: "#${c.base0D}" - readonly property color barBg: "#D1${c.base00}" + readonly property color barBg: "#B3${c.base00}" readonly property color toastBg: "#E6${c.base00}" } ''; @@ -599,6 +606,7 @@ in text = '' import Quickshell import Quickshell.Hyprland + import Quickshell.Wayland import Quickshell.Services.SystemTray import Quickshell.Services.Notifications import Quickshell.Services.Pipewire @@ -613,6 +621,7 @@ in required property var modelData required property NotificationServer notifServer screen: modelData + WlrLayershell.namespace: "quickshell-bar" anchors { top: true