Fix Picom exclude Polybar to apply radius

This commit is contained in:
Fabio Scotto di Santolo
2025-09-08 22:41:22 +02:00
parent 04bd67e289
commit 274ec45f75

View File

@@ -18,18 +18,17 @@
# focus-exclude = [ "class_g = 'dwm'" ]; # focus-exclude = [ "class_g = 'dwm'" ];
# opacity-rule = [ # opacity-rule = [
# "100:class_g = 'example'" # "100:class_g = 'example'"
# ]; # ];
# ROUNDED CORNERS # ROUNDED CORNERS
corner-radius = 15 corner-radius = 3
# uncommented for square notification box # uncommented for square notification box
# rounded-corners-exclude = [ rounded-corners-exclude = [
# "class_g = 'Dunst'" "class_g = 'Polybar'",
# ]; "class_g = 'Dunst'"
];
# BLURRING # BLURRING
# methods: none, gaussian, box, kernel (define custom kernel), dual_kawase # methods: none, gaussian, box, kernel (define custom kernel), dual_kawase
@@ -38,8 +37,8 @@ blur:
method = "dual_kawase"; method = "dual_kawase";
size = 10; size = 10;
strength = 3; strength = 3;
# default deviation is 0.84 # default deviation is 0.84
# deviation = false; # deviation = false;
}; };
# semi-transparent # semi-transparent
@@ -53,41 +52,31 @@ blur-background-fixed = true
# blur-kern = "3x3box"; # blur-kern = "3x3box";
# blur-kern = "5x5gaussian"; # blur-kern = "5x5gaussian";
# SHADOWS # SHADOWS
# shadow = true; # shadow = true;
shadow-radius = 1; #blur radius shadow-radius = 1; #blur radius
shadow-opacity = .1 shadow-opacity = .1
shadow-offset-x = 0; shadow-offset-x = 0;
shadow-offset-y = 0; shadow-offset-y = 0;
shadow-color = "#000000"
# shadow-color = "#000000"
# shadow-exclude = []; # shadow-exclude = [];
# FADING # FADING
fading = true; fading = true;
fade-in-step = 0.03; fade-in-step = 0.03;
fade-out-step = 0.03; fade-out-step = 0.03;
fade-delta = 3 fade-delta = 3
# OTHER SETTINGS # OTHER SETTINGS
# dbus = true # dbus = true
# daemon = false # daemon = false
# backends: `xrender`, `glx`, `egl` or `xr_glx_hybrid` # backends: `xrender`, `glx`, `egl` or `xr_glx_hybrid`
backend = "egl"; backend = "egl";
dithered-present = false; dithered-present = false;
vsync = true; vsync = true;
# mark-wmwin-focused = true; # mark-wmwin-focused = true;
# mark-ovredir-focused = true; # mark-ovredir-focused = true;
detect-rounded-corners = false detect-rounded-corners = false
detect-client-opacity = true; detect-client-opacity = true;
use-ewmh-active-win = true use-ewmh-active-win = true
@@ -107,7 +96,7 @@ log-level = "warn";
# normal = { opacity = 1;} # normal = { opacity = 1;}
# }; # };
# WINDDOW RULES # WINDOW RULES
rules = ( rules = (
# { match = "name = 'dwm'"; opacity = 1; }, # { match = "name = 'dwm'"; opacity = 1; },
{ match = "focused"; opacity = 1; }, { match = "focused"; opacity = 1; },