compton: tweak config a bit
[~bandali/configs] / .config / compton / compton.conf
CommitLineData
9353204b
AB
1# Shadow
2shadow = true;
3shadow-radius = 7;
4shadow-offset-x = -7;
5shadow-offset-y = -7;
6log-level = "warn";
7# log-file = "/path/to/your/log/file";
8# shadow-opacity = 0.7;
9# shadow-red = 0.0;
10# shadow-green = 0.0;
11# shadow-blue = 0.0;
12shadow-exclude = [
13 "name = 'Notification'",
14 "class_g = 'Conky'",
15 "class_g ?= 'Notify-osd'",
16 "class_g = 'Cairo-clock'",
17 "_GTK_FRAME_EXTENTS@:c"
18];
19# shadow-exclude = "n:e:Notification";
20# shadow-exclude-reg = "x10+0+0";
21# xinerama-shadow-crop = true;
22
23# Opacity
24inactive-opacity = 0.8;
25# active-opacity = 0.8;
26frame-opacity = 0.7;
27inactive-opacity-override = false;
28# inactive-dim = 0.2;
29# inactive-dim-fixed = true;
30# blur-background = true;
31# blur-background-frame = true;
32blur-kern = "3x3box";
33# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
34# blur-background-fixed = true;
35blur-background-exclude = [
36 "window_type = 'dock'",
37 "window_type = 'desktop'",
38 "_GTK_FRAME_EXTENTS@:c"
39];
40# opacity-rule = [ "80:class_g = 'URxvt'" ];
41
42# Fading
43fading = true;
325749b2
AB
44fade-delta = 3;
45fade-in-step = 0.09;
46fade-out-step = 0.09;
9353204b
AB
47# no-fading-openclose = true;
48# no-fading-destroyed-argb = true;
49fade-exclude = [ ];
50
51# Other
325749b2 52backend = "glx";
9353204b
AB
53mark-wmwin-focused = true;
54mark-ovredir-focused = true;
55# use-ewmh-active-win = true;
56detect-rounded-corners = true;
57detect-client-opacity = true;
58refresh-rate = 0;
59vsync = true;
60# sw-opti = true;
61# unredir-if-possible = true;
62# unredir-if-possible-delay = 5000;
63# unredir-if-possible-exclude = [ ];
64focus-exclude = [ "class_g = 'Cairo-clock'" ];
65detect-transient = true;
66detect-client-leader = true;
67invert-color-include = [ ];
68# resize-damage = 1;
69
70# GLX backend
71# glx-no-stencil = true;
72# glx-no-rebind-pixmap = true;
73# xrender-sync-fence = true;
74use-damage = true;
75
76# Window type settings
77wintypes:
78{
79 tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
80 dock = { shadow = false; }
81 dnd = { shadow = false; }
82 popup_menu = { opacity = 0.8; }
83 dropdown_menu = { opacity = 0.8; }
84};