Update picom config

This commit is contained in:
rydesun 2025-02-11 18:12:19 +08:00
parent 002184317d
commit 3397ae7724

View file

@ -9,9 +9,7 @@ shadow-offset-y = -32
shadow-opacity = 0.48 shadow-opacity = 0.48
shadow-exclude = [ shadow-exclude = [
"class_g ~= 'com.github.johnfactotum.Foliate' && window_type = 'menu'", "argb && (window_type = 'menu' || window_type = 'popup_menu' || window_type = 'utility')"
"class_g = 'firefox' && window_type = 'utility'",
"class_g = 'firefox' && window_type = 'popup_menu'"
] ]
################################# #################################
@ -28,12 +26,10 @@ fade-delta = 4
corner-radius = 12 corner-radius = 12
rounded-corners-exclude = [ rounded-corners-exclude = [
"_NET_WM_WINDOW_TYPE@:32a = '_NET_WM_WINDOW_TYPE_NORMAL' "QTILE_INTERNAL"
&& IS_FLOATING@:s != 'True' && IS_SINGLE@:s != 'True'", , "IS_FLOATING@:c = 0"
"QTILE_INTERNAL@:32c = 1", , "class_g = 'kitty'"
"class_g = 'kitty'", , "class_g = 'mpv'",
"class_g = 'mpv'",
"class_g *= 'steam_app_'"
]; ];
################################# #################################
@ -43,9 +39,7 @@ rounded-corners-exclude = [
blur-method = "dual_kawase" blur-method = "dual_kawase"
blur-strength = 6 blur-strength = 6
blur-background-exclude = [ blur-background-exclude = [
"class_g ~= 'com.github.johnfactotum.Foliate' && window_type = 'menu'", "window_type != 'normal'"
"class_g = 'firefox' && window_type = 'popup_menu'",
"class_g = 'Peek'"
]; ];
################################# #################################