-
Notifications
You must be signed in to change notification settings - Fork 11
/
compton.conf
100 lines (85 loc) · 2.57 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
#----------------------------------------------------------------------------------
# Project Name - $HOME/.config/compton.conf
# Started On - Wed 4 Oct 19:27:31 BST 2017
# Last Change - Mon 2 Apr 04:04:13 BST 2018
# Author E-Mail - [email protected]
# Author GitHub - https://github.com/terminalforlife
#----------------------------------------------------------------------------------
# These are my compton settings. Feel free to use them and experiment. Just know
# that what works for me may well not work for you; it depends on things like your
# hardware and the packages you're using.
#
# For me, this completely eliminates screen tearing. I chose to disable shadows, -
# because, despite tweaking the settings, I still get the occasionally buggy ones.
#----------------------------------------------------------------------------------
backend = "glx";
glx-no-stencil = true;
glx-copy-from-front = false;
glx-swap-method = "undefined";
shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
clear-shadow = false;
shadow-radius = 2;
shadow-offset-x = 7;
shadow-offset-y = 7;
shadow-opacity = 0.4;
shadow-red = 0.0;
shadow-green = 0.0;
shadow-blue = 0.0;
shadow-ignore-shaped = false;
menu-opacity = 1.0;
inactive-opacity = 0.8;
active-opacity = 1.0;
frame-opacity = 0.9;
inactive-opacity-override = false;
alpha-step = 0.06;
blur-background-fixed = true;
blur-background-frame = true;
fading = true;
fade-delta = 8;
fade-in-step = 0.03;
fade-out-step = 0.03;
no-fading-openclose = false;
mark-wmwin-focused = true;
mark-ovredir-focused = true;
use-ewmh-active-win = true;
refresh-rate = 60;
# If issues arise, try "opengl-swc", instead of "opengl-mswc".
vsync = "opengl-mswc";
dbe = false;
paint-on-overlay = true;
sw-opti = true;
# Fixes flicker problems within i3-wm.
unredir-if-possible = false;
detect-rounded-corners = true;
detect-client-opacity = true;
detect-transient = false;
detect-client-leader = false;
shadow-exclude = [
"! name~=''",
"class_g ?= 'Notify-osd'",
"class_g ?= 'galculator'",
"class_g ?= 'plank'",
"class_g ?= 'Docky'",
"class_g ?= 'Cairo-dock'",
"class_g ?= 'gnome-font-viewer'",
"class_g ?= 'org.gnome.Characters'",
"class_g ?= 'gucharmap'",
"class_g ?= 'Conky'",
"class_g ?= 'pavucontrol'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
blur-background-exclude = [
"window_type = 'dock'"
];
fade-exclude = [ ];
focus-exclude = [ ];
wintypes:
{
menu = { shadow = true; };
dropdown_menu = { shadow = true; };
utility = { shadow = true; };
popup_menu = { shadow = true; };
tooltip = { shadow = true; focus = true; };
};