mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
picom: Update to picom 9.1, enable rounded corners
As always, tweak some of the visuals. Tone down the shadow opacity to make the non-rounded corner shadows less obvious. Hopefully I can undo that a bit in the future. Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
parent
839d972e95
commit
db40ef08bb
@ -5,12 +5,10 @@ log-level = "info";
|
|||||||
# Shadow
|
# Shadow
|
||||||
shadow = true;
|
shadow = true;
|
||||||
shadow-radius = 24;
|
shadow-radius = 24;
|
||||||
shadow-offset-x = -24;
|
shadow-offset-x = -20;
|
||||||
shadow-offset-y = -24;
|
shadow-offset-y = -20;
|
||||||
shadow-opacity = 0.6;
|
shadow-opacity = 0.3;
|
||||||
# shadow-red = 0.0;
|
shadow-color = "#000000";
|
||||||
# shadow-green = 0.0;
|
|
||||||
# shadow-blue = 0.0;
|
|
||||||
shadow-exclude = [
|
shadow-exclude = [
|
||||||
"class_g = 'slop'",
|
"class_g = 'slop'",
|
||||||
"class_g = 'Conky'",
|
"class_g = 'Conky'",
|
||||||
@ -22,12 +20,13 @@ shadow-exclude = [
|
|||||||
];
|
];
|
||||||
# shadow-exclude = "n:e:Notification";
|
# shadow-exclude = "n:e:Notification";
|
||||||
# shadow-exclude-reg = "x10+0+0";
|
# shadow-exclude-reg = "x10+0+0";
|
||||||
|
# shadow-ignore-shaped = true;
|
||||||
xinerama-shadow-crop = true;
|
xinerama-shadow-crop = true;
|
||||||
|
|
||||||
# Opacity
|
# Opacity
|
||||||
frame-opacity = 1.0;
|
frame-opacity = 1.0;
|
||||||
# active-opacity = 0.8;
|
active-opacity = 1.0;
|
||||||
inactive-opacity = 0.6;
|
inactive-opacity = 0.5;
|
||||||
inactive-opacity-override = true;
|
inactive-opacity-override = true;
|
||||||
# inactive-dim = 0.2;
|
# inactive-dim = 0.2;
|
||||||
# inactive-dim-fixed = true;
|
# inactive-dim-fixed = true;
|
||||||
@ -55,6 +54,9 @@ blur-background-exclude = [
|
|||||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Corners
|
||||||
|
corner-radius = 8;
|
||||||
|
|
||||||
# Fading
|
# Fading
|
||||||
fading = true;
|
fading = true;
|
||||||
fade-delta = 10;
|
fade-delta = 10;
|
||||||
@ -64,41 +66,69 @@ no-fading-openclose = false;
|
|||||||
no-fading-destroyed-argb = false;
|
no-fading-destroyed-argb = false;
|
||||||
# fade-exclude = [ ];
|
# fade-exclude = [ ];
|
||||||
|
|
||||||
# Other
|
# Focus
|
||||||
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 = [
|
focus-exclude = [
|
||||||
"i:ai:chromium",
|
"i:ai:chromium",
|
||||||
"class_g = 'firefox'",
|
"class_g = 'firefox'",
|
||||||
"class_g = 'zoom'"
|
"class_g = 'zoom'",
|
||||||
|
"class_g = 'guvcview'",
|
||||||
|
"class_g = 'Entangle'",
|
||||||
|
"class_g = 'obs'",
|
||||||
|
"class_g = 'parsecd'",
|
||||||
|
"class_g = 'discord'",
|
||||||
|
"class_g = 'steam_app_271590'"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Other
|
||||||
|
# https://github.com/yshui/picom/blob/next/picom.sample.conf#L203
|
||||||
|
backend = "glx";
|
||||||
|
vsync = true;
|
||||||
|
mark-wmwin-focused = true;
|
||||||
|
mark-ovredir-focused = true;
|
||||||
|
detect-rounded-corners = true;
|
||||||
|
detect-client-opacity = true;
|
||||||
|
use-ewmh-active-win = true;
|
||||||
|
# unredir-if-possible = true;
|
||||||
|
# unredir-if-possible-delay = 5000;
|
||||||
|
# unredir-if-possible-exclude = [ ];
|
||||||
detect-transient = true;
|
detect-transient = true;
|
||||||
detect-client-leader = true;
|
detect-client-leader = true;
|
||||||
invert-color-include = [ ];
|
invert-color-include = [ ];
|
||||||
# resize-damage = 1;
|
resize-damage = 1;
|
||||||
|
|
||||||
# GLX backend
|
# GLX backend
|
||||||
glx-no-stencil = true;
|
glx-no-stencil = true;
|
||||||
glx-no-rebind-pixmap = true;
|
glx-no-rebind-pixmap = true;
|
||||||
xrender-sync-fence = true;
|
# xrender-sync-fence = true;
|
||||||
|
# no-use-damage = false;
|
||||||
use-damage = true;
|
use-damage = true;
|
||||||
|
|
||||||
# Window type settings
|
# Window type settings
|
||||||
wintypes:
|
wintypes: {
|
||||||
{
|
tooltip = {
|
||||||
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
opacity = 0.75;
|
||||||
dock = { shadow = false; }
|
full-shadow = false;
|
||||||
dnd = { shadow = false; }
|
blur-background = false;
|
||||||
popup_menu = { opacity = 0.8; }
|
}
|
||||||
dropdown_menu = { opacity = 0.8; }
|
|
||||||
|
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;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# vim: ft=conf noet
|
||||||
|
Loading…
Reference in New Issue
Block a user