From eec1396d42e7458eabb76b724ded9ee68c7cb33a Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 1 Jul 2024 14:17:30 -0700 Subject: Remove rounded corners around the stumpwm modeline - Redefine the ‘stumpwm::make-mode-line-window’ function to set the ‘_NET_WM_WINDOW_TYPE’ property to ‘_NET_WM_WINDOW_TYPE_DOCK’ so that it can be matched by window type. - Specify that for picom any “dock” type windows should be excluded from getting rounded corners. - Add ‘rounded-corners-exclude’ initializer for the ‘home-picom-configuration’. --- oni/home/config/rincewind.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'oni/home/config/rincewind.scm') diff --git a/oni/home/config/rincewind.scm b/oni/home/config/rincewind.scm index 83c1883..d93956a 100644 --- a/oni/home/config/rincewind.scm +++ b/oni/home/config/rincewind.scm @@ -242,6 +242,8 @@ (wintypes '((dnd (shadow . #f)) (dock (shadow . #f)))) + (rounded-corners-exclude + '("window_type *= \\\"dock\\\"")) (corner-radius 15) (blur-background #f) (blur-background-frame #f) -- cgit v1.2.3-54-g00ecf