-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompton.conf
125 lines (119 loc) · 3.75 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
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
119
120
121
122
123
124
125
# Shadow
shadow = true;
# no-dnd-shadow = true;
# no-dock-shadow = true;
# clear-shadow = true;
shadow-radius = 50;
shadow-offset-x = -75;
shadow-offset-y = -75;
shadow-opacity = 0.99;
# shadow-red = 1.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
# There is an issue with Gtk shadows and compton, drawing an extra shadow box (it appears as a large
# margin inside the xmonad window, showing background). To solve this, fix gtk by adding to
# ~/.config/gtk-3.0/gtk.css:
# .window-frame {
# box-shadow: none;
# margin: 0;
# border-style: none;
# border-radius: 0;
# }
#
# .titlebar {
# border-radius: 0;
# }
shadow-exclude = [
# "_GTK_FRAME_EXTENTS@:c"
"name = 'Notification'"
, "!focused"
, "name = 'XScreenSaver'"
, "name = 'xsecurelock'"
];
# xmobar's lowerOnStart should be true to let toggle strut work as expected,
# that is that windows get atop xmobar (used for full screen above the bar).
# X geometry "axb+c+d", with a the width, b the eighth, c and d the position.
#shadow-exclude-reg = "1920x18+0+0"; # do not draw shadow over xmobar. Commented out for no xmobar
xinerama-shadow-crop = true; # a window on a monitor does not draw shadows on another
# Opacity
menu-opacity = 1.00;
inactive-opacity = 0.85;
# active-opacity = 0.8;
frame-opacity = 0.99;
# inactive-opacity-override = false;
# alpha-step = 0.06;
#inactive-dim = 0.12; # Unnecessary to combine this with compton transparency
# inactive-dim-fixed = true;
# blur-background = true;
# blur-background-frame = true;
# blur-kern = "3x3box";
# 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";
# blur-background-fixed = true;
# blur-background-exclude = [
# "window_type = 'dock'",
# "window_type = 'desktop'",
# "_GTK_FRAME_EXTENTS@:c"
# ];
opacity-rule = [ "99:class_g = 'XScreenSaver'"
, "99:class_g = 'xsecurelock'"
, "99:class_g = 'Eog'"
, "99:class_g = 'Totem'"
, "99:class_g = 'lcam-main'"
, "99:class_g = 'vlc'" # this doesn't work
, "99:name *= 'VLC'" # this works
, "99:class_g = 'xmobar'" # this doesn't work
, "90:name = 'xmobar'" # this works, but takes my emacs if I have .xmobarrc open
, "99:name *= 'YouTube'"
, "99:name *= 'rofi'"
, "99:name *= 'i3lock'"
, "99:name *= 'Meet'" # Google meet
];
# Fading
fading = true;
fade-delta = 6;
fade-in-step = 0.01;
fade-out-step = 0.02;
no-fading-openclose = true; # avoid fading when switching workspace
# no-fading-destroyed-argb = true;
# Excluding xscreensaver from fade did not work, it's still a little transparent.
# I think this is not actual transparency, just that the screensaver start before
# the screen has faded out completely.
fade-exclude = [
"name *?= 'XScreenSaver'"
, "name *?= 'xsecurelock'"
];
# Other
backend = "glx";
# mark-wmwin-focused = true;
# mark-ovredir-focused = true;
# use-ewmh-active-win = true;
# detect-rounded-corners = true;
# detect-client-opacity = true;
# refresh-rate = 0;
# vsync = "none";
# dbe = false;
paint-on-overlay = true;
# sw-opti = true;
# unredir-if-possible = true;
# unredir-if-possible-delay = 5000;
# unredir-if-possible-exclude = [ ];
focus-exclude = [ "name *= 'rofi'" ];
# detect-transient = true;
# detect-client-leader = true;
# invert-color-include = [ ];
# resize-damage = 1;
# GLX backend
# glx-no-stencil = true;
# glx-copy-from-front = false;
# glx-use-copysubbuffermesa = true;
# glx-no-rebind-pixmap = true;
# glx-swap-method = "undefined";
# glx-use-gpushader4 = true;
# xrender-sync = true;
# xrender-sync-fence = true;
# Window type settings
wintypes:
{
tooltip = { fade = false; shadow = true; opacity = 0.9; focus = false; };
dock = { fade = false; shadow = false; opacity = 0.8; focus = true; };
};