mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Joe Groocock
ece2eb878a
picom cannot and does not attempt to use the window geometry from the non-rectangular menu+friend windows that Firefox displays which causes a strange floating blur/shadow behind the menus. Avoid this by disabling both blur and shadows on those pop-ups until picom can handle it better. Signed-off-by: Joe Groocock <me@frebib.net>
105 lines
2.3 KiB
Plaintext
105 lines
2.3 KiB
Plaintext
# Logging
|
|
log-level = "info";
|
|
#log-file = "/home/frebib/.local/share/picom.log";
|
|
|
|
# Shadow
|
|
shadow = true;
|
|
shadow-radius = 24;
|
|
shadow-offset-x = -24;
|
|
shadow-offset-y = -24;
|
|
shadow-opacity = 0.6;
|
|
# shadow-red = 0.0;
|
|
# shadow-green = 0.0;
|
|
# shadow-blue = 0.0;
|
|
shadow-exclude = [
|
|
"class_g = 'slop'",
|
|
"class_g = 'Conky'",
|
|
"class_g ?= 'Notify-osd'",
|
|
"class_g = 'firefox' && argb && (window_type = 'utility' || window_type = 'popup_menu')",
|
|
"name = 'Notification'",
|
|
"name = 'cpt_frame_window'",
|
|
"_GTK_FRAME_EXTENTS@:c"
|
|
];
|
|
# shadow-exclude = "n:e:Notification";
|
|
# shadow-exclude-reg = "x10+0+0";
|
|
xinerama-shadow-crop = true;
|
|
|
|
# Opacity
|
|
frame-opacity = 1.0;
|
|
# active-opacity = 0.8;
|
|
inactive-opacity = 0.6;
|
|
inactive-opacity-override = true;
|
|
# inactive-dim = 0.2;
|
|
# inactive-dim-fixed = true;
|
|
opacity-rule = [
|
|
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
|
];
|
|
|
|
# Blurring
|
|
blur:
|
|
{
|
|
method = "dual_kawase";
|
|
strength = 8;
|
|
};
|
|
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')",
|
|
"window_type = 'dock'",
|
|
"window_type = 'desktop'",
|
|
"_GTK_FRAME_EXTENTS@:c",
|
|
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
|
];
|
|
|
|
# Fading
|
|
fading = true;
|
|
fade-delta = 10;
|
|
fade-in-step = 0.04
|
|
fade-out-step = 0.06;
|
|
no-fading-openclose = false;
|
|
no-fading-destroyed-argb = false;
|
|
# fade-exclude = [ ];
|
|
|
|
# Other
|
|
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;
|
|
# sw-opti = true;
|
|
# unredir-if-possible = true;
|
|
# unredir-if-possible-delay = 5000;
|
|
# unredir-if-possible-exclude = [ ];
|
|
focus-exclude = [
|
|
"i:ai:chromium",
|
|
"class_g = 'firefox'",
|
|
"class_g = 'zoom'"
|
|
];
|
|
detect-transient = true;
|
|
detect-client-leader = true;
|
|
invert-color-include = [ ];
|
|
# resize-damage = 1;
|
|
|
|
# GLX backend
|
|
glx-no-stencil = true;
|
|
glx-no-rebind-pixmap = true;
|
|
xrender-sync-fence = true;
|
|
use-damage = 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 = { opacity = 0.8; }
|
|
dropdown_menu = { opacity = 0.8; }
|
|
};
|