From f694c5b2683dbfa043e21c78db7fc79ad96e24de Mon Sep 17 00:00:00 2001 From: afranco Date: Sat, 7 Sep 2024 03:04:02 +0100 Subject: [PATCH] chore(picom): fix xmobar rounded corner and dim inactive windows --- .config/picom/picom.conf | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index 3b8393c..81bac17 100644 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -16,7 +16,10 @@ rounded-corners-exclude = [ #"window_type = 'normal'", "class_g = 'Rofi'", "class_g = 'TelegramDesktop'", - "class_g = 'Dunst'" + "class_g = 'Dunst'", + "name = 'xmobar'", + "class_g = 'trayer'", + "name = 'panel'", ]; round-borders = 1; round-borders-exclude = [ @@ -148,11 +151,11 @@ fade-exclude = [ # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) # inactive-opacity = 1 -inactive-opacity = 0.8; +inactive-opacity = 1; # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # frame-opacity = 1.0 -frame-opacity = 0.7; +#frame-opacity = 0.7; # Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0) # menu-opacity = 1.0 @@ -171,7 +174,7 @@ inactive-opacity-override = false; active-opacity = 1.0; # Dim inactive windows. (0.0 - 1.0, defaults to 0.0) -# inactive-dim = 0.0 +inactive-dim = 0.06; # Specify a list of conditions of windows that should always be considered focused. # focus-exclude = [] @@ -182,7 +185,7 @@ focus-exclude = [ ]; # Use fixed inactive dim value, instead of adjusting according to window opacity. -# inactive-dim-fixed = 1.0 +inactive-dim-fixed = false; # Specify a list of opacity rules, in the format `PERCENT:PATTERN`, # like `50:name *= "Firefox"`. picom-trans is recommended over this. @@ -302,7 +305,7 @@ mark-wmwin-focused = true; # Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused. # mark-ovredir-focused = false -mark-ovredir-focused = true; +mark-ovredir-focused = false; # Try to detect windows with rounded corners and don't consider them # shaped windows. The accuracy is not very high, unfortunately. @@ -320,7 +323,7 @@ detect-client-opacity = true; # try detecting this with X RandR extension. # # refresh-rate = 60 -refresh-rate = 0 +#refresh-rate = 0 # Limit picom to repaint at most once every 1 / 'refresh_rate' second to # boost performance. This should not be used with