From 3397ae77244de2804b1e2bf6c28e4361840bca90 Mon Sep 17 00:00:00 2001 From: rydesun Date: Tue, 11 Feb 2025 18:12:19 +0800 Subject: [PATCH] Update picom config --- .config/picom/picom.conf | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index 926bfa2..ee9cc7a 100644 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -9,9 +9,7 @@ shadow-offset-y = -32 shadow-opacity = 0.48 shadow-exclude = [ - "class_g ~= 'com.github.johnfactotum.Foliate' && window_type = 'menu'", - "class_g = 'firefox' && window_type = 'utility'", - "class_g = 'firefox' && window_type = 'popup_menu'" + "argb && (window_type = 'menu' || window_type = 'popup_menu' || window_type = 'utility')" ] ################################# @@ -28,12 +26,10 @@ fade-delta = 4 corner-radius = 12 rounded-corners-exclude = [ - "_NET_WM_WINDOW_TYPE@:32a = '_NET_WM_WINDOW_TYPE_NORMAL' - && IS_FLOATING@:s != 'True' && IS_SINGLE@:s != 'True'", - "QTILE_INTERNAL@:32c = 1", - "class_g = 'kitty'", - "class_g = 'mpv'", - "class_g *= 'steam_app_'" + "QTILE_INTERNAL" + , "IS_FLOATING@:c = 0" + , "class_g = 'kitty'" + , "class_g = 'mpv'", ]; ################################# @@ -43,9 +39,7 @@ rounded-corners-exclude = [ blur-method = "dual_kawase" blur-strength = 6 blur-background-exclude = [ - "class_g ~= 'com.github.johnfactotum.Foliate' && window_type = 'menu'", - "class_g = 'firefox' && window_type = 'popup_menu'", - "class_g = 'Peek'" + "window_type != 'normal'" ]; #################################