summaryrefslogtreecommitdiff
path: root/picom/.config/picom.conf
blob: 8d5a0f98a74fd7c69d2234e93822ee5cb8f001a4 (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
70
## SHADOWS
shadow = true;
shadow-radius = 25;
shadow-offset-x = -15;
shadow-offset-y = -15;
shadow-exclude = [
    "name = 'Notification'",
    "class_g ?= 'Notify-osd'",
    "name = 'polybar'",
    "name = 'Polybar tray window'",
    "class_g ?= 'dwm'",
    "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
    "class_g = 'Firefox' && argb",
    "_GTK_FRAME_EXTENTS@:c"
];

## OPACITY
frame-opacity = 1.0;
inactive-opacity-override = false;
blur-background = true;
blur-strength = 3;
blur-kern = "3x3box";
blur-background-exclude = [
    "name = 'polybar'",
    "name = 'Polybar tray window'",
    "class_g ?= 'Rofi'",
    "class_g ?= 'zoom'",
    "window_type = 'dock'",
    "window_type = 'desktop'"
];
opacity-rule = [ 
    "40:class_g = 'Bspwm' && class_i = 'presel_feedback'",
    "100:class_g = 'st-256color' && focused",
    "95:class_g = 'st-256color' && !focused"
];

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

## GLX
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
use-damage = true;

## WINDOW TYPES
wintypes:
{
    tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
    dock = { shadow = false; }
    dnd = { shadow = false; }
    popup_menu = { opacity = 0.8; }
    dropdown_menu = { opacity = 0.8; }
};

## MISC
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 = true;
focus-exclude = [ "class_g = 'Cairo-clock'" ];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];