summaryrefslogtreecommitdiffstats
path: root/.config/picom.conf
blob: bf0256f6f688acffb6c32c2c45f1862ff81fe8e9 (plain)
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# basic configuration
# experimental-backends = true;
backend = "glx";
paint-on-overlay = true;
vsync = true;
unredir-if-possible = true;
no-use-damage = true;

# Inactive windows diming
# inactive-dim = 0.10;
# inactive-dim-fixed = true;

# corner-radius=0;
# rounded-corners-exclude= [
# 	"window_type = 'menu'",
# 	"window_type = 'dropdown_menu'",
# 	"window_type = 'popup_menu'",
# 	"window_type = 'utility'",
# 	"class_g = 'Polybar'",
# 	"class_g = 'Rofi'",
# 	"class_g = 'Dunst'"
# ];
# detect-rounded-corners = true;

# Enabled client-side shadows on windows.
shadow = false;
# The blur radius for shadows. (default 12)
# shadow-radius = 12;
# The left offset for shadows. (default -15)
# shadow-offset-x = -12;
# The top offset for shadows. (default -15)
# shadow-offset-y = -12;
# The translucency for shadows. (default .75)
# shadow-opacity = 0.8;

# Set if you want different colour shadows
# shadow-red = 0.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;

# The shadow exclude options are helpful if you have shadows enabled. Due to the way picom draws its shadows, certain applications will have visual glitches
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
# shadow-exclude = [
#     "! name~=''",
#     "name = 'Notification'",
#     "name = 'Docky'",
#     "name = 'Kupfer'",
#     "name = 'xfce4-notifyd'",
#     "name *= 'compton'",
#     "name *= 'picom'",
#     "name *= 'cpt_frame_window'",
#     "name *= 'wrapper-2.0'",
#     "name *= 'tint2'",
#     "class_g = 'Plank'",
#     "class_g = 'Conky'",
#     "class_g = 'Kupfer'",
#     "class_g = 'Synapse'",
#     "class_g ?= 'Notify-osd'",
#     "class_g ?= 'Cairo-dock'",
#     "_GTK_FRAME_EXTENTS@:c",
#     "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
# ];

inactive-opacity = 1;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;

# Fade windows during opacity changes.
fading = false;
# The time between steps in a fade in milliseconds. (default 10).
# fade-delta = 10;
# # Opacity change between steps while fading in. (default 0.028).
# fade-in-step = 0.04;
# # Opacity change between steps while fading out. (default 0.03).
# fade-out-step = 0.04;
# # Fade windows in/out when opening/closing
# no-fading-openclose = true;

# Specify a list of conditions of windows that should not be faded.
fade-exclude = [ ];
xinerama-shadow-crop = true;

# wintypes:
# {
#     tooltip =
#     {
#         # fade: Fade the particular type of windows.
#         fade = true;
#         # shadow: Give those windows shadow
#         shadow = false;
#         # opacity: Default opacity for the type of windows.
#         opacity = 0.85;
#         # focus: Whether to always consider windows of this type focused.
#         focus = true;
#     };
#     dock = { shadow = true; }
#     dnd = { shadow = false; }
#     popup_menu = {
#         opacity = 1.0;
#         shadow = false;
#         fade = false;
#     }
#     dropdown_menu = {
#         opacity = 1.0;
#         fade = false;
#     }
# };

#blur: {
#	method = "dual_kawase";
#	strength = 8;
#};

# blur-background-exclude = [
# 	"! class_g = 'Alacritty'"
# ];