更新picom配置
parent
ef098951df
commit
101f3e6d66
|
@ -2,6 +2,18 @@
|
||||||
backend = "glx";
|
backend = "glx";
|
||||||
vsync = true;
|
vsync = true;
|
||||||
|
|
||||||
|
|
||||||
|
# 圆角
|
||||||
|
corner-radius = 4;
|
||||||
|
|
||||||
|
rounded-corners-exclude = [
|
||||||
|
# "window_type = 'normal'",
|
||||||
|
"window_type = 'dock'",
|
||||||
|
"window_type = 'desktop'",
|
||||||
|
"class_g ?= 'rofi'",
|
||||||
|
"class_g ?= 'polybar'"
|
||||||
|
];
|
||||||
|
|
||||||
# 阴影
|
# 阴影
|
||||||
shadow = true;
|
shadow = true;
|
||||||
shadow-radius = 12;
|
shadow-radius = 12;
|
||||||
|
@ -14,6 +26,11 @@ shadow-exclude = [
|
||||||
"class_g *= '.exe'",
|
"class_g *= '.exe'",
|
||||||
# chrome
|
# chrome
|
||||||
"name *= 'Chrome'",
|
"name *= 'Chrome'",
|
||||||
|
|
||||||
|
"class_g ?= 'rofi'",
|
||||||
|
"class_g = 'io.github.celluloid_player.Celluloid'",
|
||||||
|
"class_g = 'gnome-builder'",
|
||||||
|
|
||||||
# 这个是啥我也不清楚, 大家都写
|
# 这个是啥我也不清楚, 大家都写
|
||||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||||
|
|
||||||
|
@ -31,7 +48,6 @@ fade-out-step = 0.03;
|
||||||
fade-delta = 5;
|
fade-delta = 5;
|
||||||
|
|
||||||
fade-exclude = [
|
fade-exclude = [
|
||||||
"class_g = 'slop'",
|
|
||||||
"class_g *= 'fcitx'"
|
"class_g *= 'fcitx'"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -41,7 +57,10 @@ fade-exclude = [
|
||||||
opacity-rule = [
|
opacity-rule = [
|
||||||
# telegram pop media viewer
|
# telegram pop media viewer
|
||||||
"100:name = 'Media viewer'",
|
"100:name = 'Media viewer'",
|
||||||
"100:class_g *= 'Gnome-boxes'",
|
"100:class_g = 'Gnome-boxes'",
|
||||||
|
"100:class_g = 'gnome-builder'",
|
||||||
|
"100:class_g = 'io.github.celluloid_player.Celluloid'",
|
||||||
|
"100:name *= 'Chrome'",
|
||||||
"100:class_g *= '.exe'"
|
"100:class_g *= '.exe'"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -55,10 +74,13 @@ blur-size = 3;
|
||||||
blur-background-exclude = [
|
blur-background-exclude = [
|
||||||
# wine 应用不加模糊
|
# wine 应用不加模糊
|
||||||
"class_g *= '.exe'",
|
"class_g *= '.exe'",
|
||||||
# "window_type = 'dock'",
|
"window_type = 'dock'",
|
||||||
"window_type = 'desktop'",
|
"window_type = 'desktop'",
|
||||||
"class_g = 'slop'"
|
"window_type = 'tooltip'",
|
||||||
# "_GTK_FRAME_EXTENTS@:c"
|
# "window_type = 'popup_menu'",
|
||||||
|
"class_g = 'io.github.celluloid_player.Celluloid'",
|
||||||
|
"class_g = 'gnome-builder'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
];
|
];
|
||||||
|
|
||||||
wintypes:
|
wintypes:
|
||||||
|
|
Loading…
Reference in New Issue