-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompton.conf
50 lines (44 loc) · 1.98 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
backend = "glx"; # Enables Opengl backend
paint-on-overlay = true; # These 3 can improve performance, work well in most cases
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
vsync = "opengl-swc"; # Enables one of the vsync methods. Check here for more info: https://github.com/chjj/compton/wiki/vsync-guide
# Shadow
shadow = false; # Enabled client-side shadows on windows.
#no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
#no-dnd-shadow = true; # Don't draw shadows on DND windows.
#clear-shadow = true; # Zero the part of the shadow's mask behind the window (experimental).
#shadow-radius = 7; # The blur radius for shadows. (default 12)
#shadow-offset-x = -7; # The left offset for shadows. (default -15)
#shadow-offset-y = -7; # The top offset for shadows. (default -15)
#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'"
#];
# 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.
# Fading
fading = true; # Fade windows during opacity changes.
fade-delta = 4; # The time between steps in a fade in milliseconds. (default 10).
fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
#no-fading-openclose = true; # Fade windows in/out when opening/closing
#detect-client-opacity = true; #Fixes opacity in some apps, such as xfce4-notifyd
# Window type settings
# Disables shadows on tooltips and enables fading on tooltips
wintypes:
{
tooltip = { fade = true; shadow = false; };
};