From 85e3fd5e36fdeeef1b8854b892699ecbce231751 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 1 Nov 2025 20:11:38 +0100 Subject: [PATCH 1/4] fix weird polkit layer anim --- dots/.config/hypr/hyprland/rules.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/dots/.config/hypr/hyprland/rules.conf b/dots/.config/hypr/hyprland/rules.conf index 9cb877f7c..f8866bc23 100644 --- a/dots/.config/hypr/hyprland/rules.conf +++ b/dots/.config/hypr/hyprland/rules.conf @@ -141,6 +141,7 @@ layerrule = noanim, quickshell:lockWindowPusher layerrule = animation fade, quickshell:notificationPopup layerrule = noanim, quickshell:overview layerrule = animation slide bottom, quickshell:osk +layerrule = noanim, quickshell:polkit layerrule = noanim, quickshell:regionSelector layerrule = noanim, quickshell:screenshot layerrule = blur, quickshell:session From 41e9c00fa8f6c8d710f97f2413ea65db68ca671f Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 1 Nov 2025 20:11:53 +0100 Subject: [PATCH 2/4] fix weird popup blur xray --- dots/.config/hypr/hyprland/rules.conf | 2 ++ dots/.config/quickshell/ii/modules/bar/StyledPopup.qml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dots/.config/hypr/hyprland/rules.conf b/dots/.config/hypr/hyprland/rules.conf index f8866bc23..4891ee854 100644 --- a/dots/.config/hypr/hyprland/rules.conf +++ b/dots/.config/hypr/hyprland/rules.conf @@ -142,6 +142,8 @@ layerrule = animation fade, quickshell:notificationPopup layerrule = noanim, quickshell:overview layerrule = animation slide bottom, quickshell:osk layerrule = noanim, quickshell:polkit +layerrule = xray 0, quickshell:popup # No weird color for bar tooltips (this in theory should suffice) +layerrule = ignorealpha 1, quickshell:popup # No weird color for bar tooltips (but somehow this is necessary) layerrule = noanim, quickshell:regionSelector layerrule = noanim, quickshell:screenshot layerrule = blur, quickshell:session diff --git a/dots/.config/quickshell/ii/modules/bar/StyledPopup.qml b/dots/.config/quickshell/ii/modules/bar/StyledPopup.qml index 9b030685f..650d770b6 100644 --- a/dots/.config/quickshell/ii/modules/bar/StyledPopup.qml +++ b/dots/.config/quickshell/ii/modules/bar/StyledPopup.qml @@ -70,7 +70,7 @@ LazyLoader { } implicitWidth: root.contentItem.implicitWidth + margin * 2 implicitHeight: root.contentItem.implicitHeight + margin * 2 - color: ColorUtils.applyAlpha(Appearance.colors.colSurfaceContainer, 1 - Appearance.backgroundTransparency) + color: Appearance.m3colors.m3surfaceContainer radius: Appearance.rounding.small children: [root.contentItem] From f96e84ff4a06b1edb8f2d5dc2eb6ebd8756af30e Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 1 Nov 2025 20:13:46 +0100 Subject: [PATCH 3/4] make polkit dialog icon more readable --- dots/.config/quickshell/ii/modules/polkit/PolkitContent.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dots/.config/quickshell/ii/modules/polkit/PolkitContent.qml b/dots/.config/quickshell/ii/modules/polkit/PolkitContent.qml index 2c5b9f3e2..baef7f0b5 100644 --- a/dots/.config/quickshell/ii/modules/polkit/PolkitContent.qml +++ b/dots/.config/quickshell/ii/modules/polkit/PolkitContent.qml @@ -52,7 +52,7 @@ Item { MaterialSymbol { Layout.alignment: Qt.AlignHCenter iconSize: 26 - text: "shield_locked" + text: "security" color: Appearance.colors.colSecondary } From dcc14a565d191468e4d2ff1c983a6a73f470da32 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 1 Nov 2025 20:16:22 +0100 Subject: [PATCH 4/4] adjust urgent notif color --- .../ii/modules/common/widgets/NotificationAppIcon.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/common/widgets/NotificationAppIcon.qml b/dots/.config/quickshell/ii/modules/common/widgets/NotificationAppIcon.qml index 795a708be..b590f22ac 100644 --- a/dots/.config/quickshell/ii/modules/common/widgets/NotificationAppIcon.qml +++ b/dots/.config/quickshell/ii/modules/common/widgets/NotificationAppIcon.qml @@ -27,7 +27,7 @@ MaterialShape { // App icon ] shape: isUrgent ? urgentShapes[Math.floor(Math.random() * urgentShapes.length)] : MaterialShape.Shape.Circle - color: isUrgent ? Appearance.colors.colPrimary : Appearance.colors.colSecondaryContainer + color: isUrgent ? Appearance.colors.colPrimaryContainer : Appearance.colors.colSecondaryContainer Loader { id: materialSymbolLoader active: root.appIcon == "" @@ -40,7 +40,7 @@ MaterialShape { // App icon "priority_high" : guessedIcon } anchors.fill: parent - color: isUrgent ? Appearance.colors.colOnPrimary : Appearance.colors.colOnSecondaryContainer + color: isUrgent ? Appearance.colors.colOnPrimaryContainer : Appearance.colors.colOnSecondaryContainer iconSize: root.materialIconSize horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter