From 525108dd95cd2b870eb65aaf18de8e94d764c01e Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 2 Nov 2025 21:49:27 +0100 Subject: [PATCH] fix weird blur xray on media controls --- dots/.config/hypr/hyprland/rules.conf | 1 + .../quickshell/ii/modules/mediaControls/PlayerControl.qml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dots/.config/hypr/hyprland/rules.conf b/dots/.config/hypr/hyprland/rules.conf index 4891ee854..7eb985c94 100644 --- a/dots/.config/hypr/hyprland/rules.conf +++ b/dots/.config/hypr/hyprland/rules.conf @@ -144,6 +144,7 @@ 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 = ignorealpha 1, quickshell:mediaControls # Same as above layerrule = noanim, quickshell:regionSelector layerrule = noanim, quickshell:screenshot layerrule = blur, quickshell:session diff --git a/dots/.config/quickshell/ii/modules/mediaControls/PlayerControl.qml b/dots/.config/quickshell/ii/modules/mediaControls/PlayerControl.qml index 83bc10a22..f50769a51 100644 --- a/dots/.config/quickshell/ii/modules/mediaControls/PlayerControl.qml +++ b/dots/.config/quickshell/ii/modules/mediaControls/PlayerControl.qml @@ -101,7 +101,7 @@ Item { // Player instance id: background anchors.fill: parent anchors.margins: Appearance.sizes.elevationMargin - color: blendedColors.colLayer0 + color: ColorUtils.applyAlpha(blendedColors.colLayer0, 1) radius: root.radius layer.enabled: true