-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpicom.conf
103 lines (96 loc) · 2.33 KB
/
picom.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# 基础设置
backend = "glx";
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-client-opacity = true;
unredir-if-possible = true;
vsync = true;
dbe = false;
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
glx-copy-from-front = false;
# # 圆角
# corner-radius = 10.0;
# round-borders = 2;
# rounded-corners-exclude = [
# "class_g *= 'dwm'",
# "class_g *= 'fcitx'",
# ];
# # 阴影
shadow = false;
# detect-rounded-corners = false;
# shadow-radius = 4;
# shadow-offset-x = 0;
# shadow-offset-y = 0;
# shadow-opacity = 0.25;
# shadow-ignore-shaped = false;
# shadow-exclude = [
# "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
# "_GTK_FRAME_EXTENTS@:c",
# "override_redirect = 1 && !WM_CLASS@:s",
# "name = 'Notification'",
# "class_g ?= 'Dmenu'",
# "class_g *= 'dwm'",
# "class_g *= 'Wine'",
# "name = 'Dunst'",
# "class_g *= 'float'"
# ];
# 透明
active-opacity = 0.93;
opacity-rule = [
"50:class_g = 'Dunst'",
"100:class_g = 'Vmware'",
"50:class_g = 'dwmsystray'",
"100:class_g = 'mpv'",
"100:class_g = 'org.remmina.Remmina'",
"100:class_g = 'Surf'",
"100:class_g = 'qutebrowser'",
"100:name *? = 'Sunflower'",
"100:WM_NAME@:s *= 'bilibili'",
"100:class_g = 'obs'",
"100:class_g = 'Gimp'",
"100:WM_CLASS@:s *= 'tim.exe'",
"95:class_g = 'Wine'",
"100:class_g *= 'crx_'",
"100:WM_CLASS@:s *= 'vncviewer'",
];
# 淡入淡出
fading = false;
fade-delta = 2;
fade-in-step = 0.01;
fade-out-step = 0.01;
fade-exclude = [
"class_g *= 'fcitx'",
"class_g = 'Rofi'"
];
# # 动画
# animations = true;
# animation-window-mass = 1;
# animation-stiffness = 180;
# animation-dampening = 25;
# animation-for-open-window = "zoom";
# animation-exclude = [
# "class_g = 'fcitx'",
# "class_g = 'flameshot'",
# "class_g = 'Dunst'",
# "class_g = 'Rofi'",
# "class_g = 'obsidian'"
# ];
# 模糊
blur-method = "dual_kawase";
blur-strength = 3;
blur-kern = "3x3box";
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c",
"class_g *= 'dwm'",
"name *? = 'Sunflower'",
];
# 针对窗口类型的设置
wintypes :
{
tooltip: { fade = true; shadow = false; opacity = 0.85; focus = true; };
fullscreen: { fade = true; shadow = false; focus = true; opacity = 0.93; };
};