iso-profiles/community/bspwm/desktop-overlay/etc/skel/.config/picom.conf

215 lines
4.2 KiB
Text
Raw Normal View History

2020-05-27 20:48:07 +02:00
# Shadow
shadow = false;
# no-dnd-shadow = true;
detect-rounded-corners = true;
shadow-radius = 3;
shadow-offset-x = 1;
shadow-offset-y = 1;
shadow-opacity = .3;
shadow-ignore-shaped = true;
shadow-exclude = [
"name = 'Notification'",
# workaround for conky until it provides window properties:
"override_redirect = 1 && !WM_CLASS@:s",
"class_g ?= 'Dmenu'",
# "class_g ?= 'Dunst'",
# disable shadows for hidden windows:
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"_GTK_FRAME_EXTENTS@:c",
# disables shadows on sticky windows:
# "_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'",
# disables shadows on i3 frames
"class_g ?= 'i3-frame'",
"class_g = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'Bspwm'",
"class_g = 'Rofi'",
];
# shadow-exclude-reg = "x10+0+0";
# xinerama-shadow-crop = true;
#menu-opacity = 1;
inactive-opacity = 0.9;
active-opacity = 1;
#inactive-dim = 0.0;
#blur-background = false;
#blur-kern = "3x3box";
fading = true;
fade-in-step = 0.03;
fade-out-step = 0.05;
fade-exclude = [ "name = 'i3lock'" ];
backend = "xrender";
mark-wmwin-focused = false;
mark-ovredir-focused = false;
use-ewmh-active-win = true;
detect-client-opacity = true;
unredir-if-possible = true;
refresh-rate = 0;
vsync = false;
dbe = false;
focus-exclude = [
#Keeps rofimenu opaque
#Comment below line out for transparent rofimenu (level is tied to inactive-opacity)
"x = 0 && y = 24 && override_redirect = true",
];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
glx-copy-from-front = false;
#glx-swap-method = "undefined";
#opacity-rule = [
#"99:name *?= 'Call'",
#"99:class_g = 'Chromium'",
#"99:name *?= 'Conky'",
#"99:class_g = 'Darktable'",
#"50:class_g = 'Dmenu'",
#"99:name *?= 'Event'",
#"99:class_g = 'Firefox'",
#"99:class_g = 'GIMP'",
#"99:name *?= 'Image'",
#"99:class_g = 'Lazpaint'",
#"99:class_g = 'Midori'",
#"99:name *?= 'Minitube'",
#"99:class_g = 'Mousepad'",
#"99:name *?= 'MuseScore'",
#"90:name *?= 'Page Info'",
#"99:name *?= 'Pale Moon'",
#"90:name *?= 'Panel'",
#"99:class_g = 'Pinta'",
#"90:name *?= 'Restart'",
#"99:name *?= 'sudo'",
#"99:name *?= 'Screenshot'",
#"99:class_g = 'Viewnior'",
#"99:class_g = 'VirtualBox'",
#"99:name *?= 'VLC'",
#"99:name *?= 'Write'",
#"93:class_g = 'URxvt' && !_NET_WM_STATE@:32a",
#"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
#"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
#];
wintypes :
{
# combo :
# {
# fade = true;
# shadow = true;
# opacity = 1;
# focus = true;
# };
dialog :
{
fade = true;
shadow = true;
opacity = 1;
focus = false;
};
# dnd :
# {
# fade = true;
# shadow = true;
# opacity = 1;
# focus = true;
# };
dropdown_menu :
{
fade = true;
shadow = true;
opacity = 1;
focus = true;
};
dock :
{
fade = true;
shadow = false;
opacity = 1;
focus = true;
};
fullscreen :
{
fade = true;
shadow = false;
opacity = 1;
focus = true;
};
menu :
{
fade = true;
shadow = false;
opacity = 1;
focus = true;
};
# normal :
# {
# fade = true;
# shadow = true;
# opacity = 1;
# focus = false;
# };
notify :
{
fade = true;
shadow = false;
opacity = 0.9;
focus = true;
};
popup_menu :
{
fade = true;
shadow = true;
opacity = 1;
focus = true;
};
splash :
{
fade = true;
shadow = false;
opacity = 1;
focus = true;
};
tooltip :
{
fade = true;
shadow = false;
opacity = 1;
focus = true;
};
toolbar :
{
fade = true;
shadow = false;
opacity = 1;
focus = true;
};
unknown :
{
fade = true;
shadow = true;
opacity = 1;
focus = true;
};
utility :
{
fade = true;
shadow = true;
opacity = 1;
focus = true;
};
};
inactive-dim-fixed = true;
blur-background = false;
fade-delta = 0.5;
opacity-rule = [
"10:class_g = 'Bspwm' && class_i = 'presel_feedback'",
#Comment out or edit below rule for terminal transparency
"95:class_g = 'st-256color' && focused",
#Comment out or edit below rule for firefox transparency
"100:class_g = 'firefox' && focused",
"95:class_g = 'firefox' && !focused",
];
no-fading-openclose = false;