1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00
dotfiles/picom/picom.conf

135 lines
2.7 KiB
Plaintext
Raw Normal View History

2019-10-11 21:15:56 +00:00
# Logging
log-level = "info";
2020-03-21 21:25:16 +00:00
#log-file = "/home/frebib/.local/share/picom.log";
2019-10-11 21:15:56 +00:00
2016-03-31 02:03:55 +00:00
# Shadow
2019-10-11 21:15:56 +00:00
shadow = true;
shadow-radius = 30;
shadow-offset-x = -30;
shadow-offset-y = -26;
shadow-opacity = 0.35;
shadow-color = "#000000";
2019-10-11 21:15:56 +00:00
shadow-exclude = [
"class_g = 'slop'",
"class_g = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'firefox' && argb && (window_type = 'utility' || window_type = 'popup_menu')",
2019-10-11 21:15:56 +00:00
"name = 'Notification'",
"name = 'cpt_frame_window'",
2019-10-11 21:15:56 +00:00
"_GTK_FRAME_EXTENTS@:c"
];
# shadow-exclude = "n:e:Notification";
# shadow-exclude-reg = "x10+0+0";
# shadow-ignore-shaped = true;
2019-10-11 21:15:56 +00:00
xinerama-shadow-crop = true;
2016-03-31 02:03:55 +00:00
# Opacity
2019-10-11 21:15:56 +00:00
frame-opacity = 1.0;
active-opacity = 1.0;
inactive-opacity = 0.5;
2019-10-11 21:15:56 +00:00
inactive-opacity-override = true;
# inactive-dim = 0.2;
# inactive-dim-fixed = true;
opacity-rule = [
2019-10-11 21:15:56 +00:00
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
# Blurring
2019-10-11 21:15:56 +00:00
blur:
{
2020-01-26 21:39:31 +00:00
method = "dual_kawase";
strength = 10;
2019-10-11 21:15:56 +00:00
};
blur-background-frame = true;
blur-background-fixed = true;
blur-background-exclude = [
"class_g = 'Peek'",
"class_g = 'Onboard'",
"class_g = 'slop'",
"class_g = 'Polybar'",
"class_g = 'firefox' && argb && (window_type = 'utility' || window_type = 'popup_menu')",
2019-10-11 21:15:56 +00:00
"window_type = 'dock'",
"window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
2019-10-11 21:15:56 +00:00
];
2016-09-12 22:14:23 +00:00
# Corners
corner-radius = 9;
2016-03-31 02:03:55 +00:00
# Fading
2019-10-11 21:15:56 +00:00
fading = true;
fade-delta = 10;
fade-in-step = 0.035;
2020-05-04 07:53:21 +00:00
fade-out-step = 0.06;
2019-10-11 21:15:56 +00:00
no-fading-openclose = false;
no-fading-destroyed-argb = false;
# fade-exclude = [ ];
2016-03-31 02:03:55 +00:00
# Focus
focus-exclude = [
"i:ai:chromium",
"class_g = 'firefox'",
"class_g = 'zoom'",
"class_g = 'guvcview'",
"class_g = 'Entangle'",
"class_g = 'obs'",
"class_g = 'parsecd'",
"class_g = 'discord'",
"class_g = 'steam_app_271590'"
];
2016-03-31 02:03:55 +00:00
# Other
# https://github.com/yshui/picom/blob/next/picom.sample.conf#L203
2019-10-11 21:15:56 +00:00
backend = "glx";
vsync = true;
2019-10-11 21:15:56 +00:00
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
use-ewmh-active-win = true;
2019-10-11 21:15:56 +00:00
# unredir-if-possible = true;
# unredir-if-possible-delay = 5000;
# unredir-if-possible-exclude = [ ];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
resize-damage = 1;
2016-03-31 02:03:55 +00:00
2019-10-11 21:15:56 +00:00
# GLX backend
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
# xrender-sync-fence = true;
# no-use-damage = false;
use-damage = true;
2016-03-31 02:03:55 +00:00
# Window type settings
wintypes: {
tooltip = {
opacity = 0.75;
full-shadow = false;
blur-background = false;
}
dock = {
# Prevents polybar getting a forehead-shadow
shadow = false;
}
dnd = {
# Prevents dragged text in a browser getting blur/shadow
shadow = false;
blur-background = false;
}
popup_menu = {
opacity = 0.8;
}
dropdown_menu = {
opacity = 0.8;
}
2016-03-31 02:03:55 +00:00
};
# vim: ft=conf noet