This repository has been archived by the owner on Jun 18, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
compton.conf
37 lines (31 loc) · 1.77 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
# Basic compton config with fade transition and shadows
# Full list of options at: https://github.com/chjj/compton/blob/master/man/compton.1.asciidoc
# Performance tweak options, more info at https://github.com/chjj/compton/wiki
paint-on-overlay = true; # Paint on X Composite overlay window instead of on root window
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
# Drop shadows
# If you use this config with i3-gaps, compton will draw shadows on title bars. This is because
# i3 creates title bars as windows. I've only been able to circumvent this by removing title bars
# completely - see my i3 config files.
shadow = true; # 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 drag-and-drop 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)
# Fading transitions
fading = true; # Fade windows during opacity changes
fade-delta = 5; # 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
# Prevents opacity being ignored for some apps
detect-client-opacity = true;
# Window type settings
wintypes:
{
tooltip = { fade = true; shadow = false; };
dock = { opacity = 0.8; };
};