2019-10-11 21:15:56 +00:00
|
|
|
# Logging
|
2020-03-22 12:36:06 +00:00
|
|
|
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;
|
2022-08-31 20:42:32 +00:00
|
|
|
shadow-radius = 30;
|
|
|
|
shadow-offset-x = -30;
|
|
|
|
shadow-offset-y = -26;
|
|
|
|
shadow-opacity = 0.35;
|
2022-03-21 22:12:40 +00:00
|
|
|
shadow-color = "#000000";
|
2019-10-11 21:15:56 +00:00
|
|
|
shadow-exclude = [
|
|
|
|
"class_g = 'slop'",
|
|
|
|
"class_g = 'Conky'",
|
|
|
|
"class_g ?= 'Notify-osd'",
|
2022-03-21 21:44:39 +00:00
|
|
|
"class_g = 'firefox' && argb && (window_type = 'utility' || window_type = 'popup_menu')",
|
2019-10-11 21:15:56 +00:00
|
|
|
"name = 'Notification'",
|
2020-04-02 10:32:21 +00:00
|
|
|
"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";
|
2022-03-21 22:12:40 +00:00
|
|
|
# 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;
|
2022-03-21 22:12:40 +00:00
|
|
|
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;
|
2018-03-29 15:09:57 +00:00
|
|
|
opacity-rule = [
|
2019-10-11 21:15:56 +00:00
|
|
|
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
2018-03-29 15:09:57 +00:00
|
|
|
];
|
2018-11-06 15:22:39 +00:00
|
|
|
|
|
|
|
# Blurring
|
2019-10-11 21:15:56 +00:00
|
|
|
blur:
|
|
|
|
{
|
2020-01-26 21:39:31 +00:00
|
|
|
method = "dual_kawase";
|
|
|
|
strength = 8;
|
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'",
|
2022-03-21 21:44:39 +00:00
|
|
|
"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'",
|
2022-03-21 21:44:39 +00:00
|
|
|
"_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
|
|
|
|
2022-03-21 22:12:40 +00:00
|
|
|
# Corners
|
2022-08-31 18:52:28 +00:00
|
|
|
corner-radius = 9;
|
2022-03-21 22:12:40 +00:00
|
|
|
|
2016-03-31 02:03:55 +00:00
|
|
|
# Fading
|
2019-10-11 21:15:56 +00:00
|
|
|
fading = true;
|
|
|
|
fade-delta = 10;
|
2022-08-31 20:42:32 +00:00
|
|
|
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
|
|
|
|
2022-03-21 22:12:40 +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
|
2022-03-21 22:12:40 +00:00
|
|
|
# https://github.com/yshui/picom/blob/next/picom.sample.conf#L203
|
2019-10-11 21:15:56 +00:00
|
|
|
backend = "glx";
|
2022-03-21 22:12:40 +00:00
|
|
|
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;
|
2022-03-21 22:12:40 +00:00
|
|
|
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 = [ ];
|
2022-03-21 22:12:40 +00:00
|
|
|
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;
|
2022-03-21 22:12:40 +00:00
|
|
|
# xrender-sync-fence = true;
|
|
|
|
# no-use-damage = false;
|
2020-03-21 23:30:12 +00:00
|
|
|
use-damage = true;
|
2016-03-31 02:03:55 +00:00
|
|
|
|
|
|
|
# Window type settings
|
2022-03-21 22:12:40 +00:00
|
|
|
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
|
|
|
};
|
2022-03-21 22:12:40 +00:00
|
|
|
|
|
|
|
# vim: ft=conf noet
|