-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.compton.conf
68 lines (63 loc) · 1.92 KB
/
.compton.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
# Enables Opengl backend
backend = "glx";
# These 3 can improve performance, work well in most cases
paint-on-overlay = true;
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
# Enables one of the vsync methods.
# Check here for more info: https://github.com/chjj/compton/wiki/vsync-guide
vsync = "opengl-swc";
# Shadow
# Enabled client-side shadows on windows.
shadow = true;
# Avoid drawing shadows on dock/panel windows.
no-dock-shadow = true;
# Don't draw shadows on DND windows.
no-dnd-shadow = true;
# Zero the part of the shadow's mask behind the window (experimental).
clear-shadow = true;
# The blur radius for shadows. (default 12)
shadow-radius = 7;
# The left offset for shadows. (default -15)
shadow-offset-x = -7;
# The top offset for shadows. (default -15)
shadow-offset-y = -7;
# Due to how compton draws shadows, some apps will have "glitchy" shadows.
# I've added all problem apps I ran into here.
# "! name~=''" excludes shadows on "unkown" windows, which fixes
# a shadow glitch with XFWM's alt tab switcher.
shadow-exclude = [
"! name~=''",
"n:e:Notification",
"n:e:Plank",
"n:e:Docky",
"g:e:Synapse",
"g:e:Kupfer",
"g:e:Conky",
"n:w:*Firefox*",
"n:w:*Chrome*",
"n:w:*Chromium*",
"class_g ?= 'Notify-osd'",
"class_g ?= 'Cairo-dock'",
"class_g ?= 'Xfce4-notifyd'",
"class_g ?= 'Xfce4-power-manager'"
];
# Fading
# Fade windows during opacity changes.
fading = true;
# The time between steps in a fade in milliseconds. (default 10).
fade-delta = 4;
# Opacity change between steps while fading in. (default 0.028).
fade-in-step = 0.03;
# Opacity change between steps while fading out. (default 0.03).
fade-out-step = 0.03;
# Fade windows in/out when opening/closing
#no-fading-openclose = true;
# Fixes opacity in some apps, such as xfce4-notifyd
detect-client-opacity = true;
# Window type settings
# Disables shadows on tooltips and enables fading on tooltips
wintypes:
{
tooltip = { fade = true; shadow = false; };
};