summaryrefslogtreecommitdiffstats
path: root/.config/picom/picom.conf
blob: 0e2be0ae48718034cbfbc4f43421faa57deef3dc (plain)
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
# log
log-level = "warn";
log-file = "/home/yigit/.local/share/picom/picom.log";

# shadow
shadow = true;
shadow-radius = 0;
shadow-offset-x = 5;
shadow-offset-y = 5;
shadow-opacity = 0.8;

shadow-exclude = [
	"name = 'Notification'",
	"class_g = 'Conky'",
        "class_g = 'Dunst'",
	"_GTK_FRAME_EXTENTS@:c"
];

# opacity
inactive-opacity = 1;
# active-opacity = 0.8;
frame-opacity = 1.0;
inactive-opacity-override = false;
inactive-dim = 0.0;

opacity-rule = [
  "100:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_FULLSCREEN'",
  "100:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_FULLSCREEN'",
  "100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'",
  "100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'",
  "100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'",
  "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];

# fading
fading = true;
fade-in-step = 0.03;
fade-out-step = 0.03;
fade-exclude = [ ];

# other
backend = "glx";
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
vsync = true;
sw-opti = false;
unredir-if-possible = false;
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];

# glx backend
glx-no-stencil = true;
glx-copy-from-front = false;
use-damage = true
xrender-sync-fence = true;

# window type settings
wintypes:
{
  tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
  dock = { shadow = false; }
  dnd = { shadow = false; }
  popup_menu = { fade = true; shadow = true; opacity = 1; focus = true; full-shadow = true; }
  dropdown_menu = {  opacity = 1; }
};