From cdf2c7c25df14b81ee58544cb0a46ff6346507b7 Mon Sep 17 00:00:00 2001 From: Protesilaos Date: Fri, 4 Sep 2026 13:53:01 +0300 Subject: [PATCH] herbstluft: distinguish between some inner and outer theme styles --- xorg-twm/.local/bin/herbstluftwm_conf_colors.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/xorg-twm/.local/bin/herbstluftwm_conf_colors.sh b/xorg-twm/.local/bin/herbstluftwm_conf_colors.sh index c807acb4..d01798d3 100755 --- a/xorg-twm/.local/bin/herbstluftwm_conf_colors.sh +++ b/xorg-twm/.local/bin/herbstluftwm_conf_colors.sh @@ -46,17 +46,20 @@ then _hc set frame_border_active_color "$bg_main" _hc set frame_bg_active_color "$fg_dim" _hc attr theme.active.color "$bg_main" - _hc attr theme.active.inner_color "$fg_dim" + _hc attr theme.active.inner_color "$bg_main" + _hc attr theme.active.outer_color "$fg_main" _hc attr theme.active.title_color "$fg_main" _hc set frame_border_normal_color "$bg_dim" _hc set frame_bg_normal_color "$bg_dim" _hc attr theme.normal.color "$bg_dim" _hc attr theme.normal.inner_color "$bg_dim" + _hc attr theme.normal.outer_color "$bg_dim" _hc attr theme.normal.title_color "$fg_dim" _hc attr theme.urgent.color "$border_urgent" _hc attr theme.urgent.inner_color "$border_urgent" + _hc attr theme.urgent.outer_color "$border_urgent" _hc attr theme.urgent.title_color "$bg_main" # The following are counter-intuitive names for inactive tabs of @@ -79,10 +82,4 @@ then # This is used when resizing and the window contents do not stretch # immediately to fill in the space. _hc attr theme.background_color "$bg_dim" - - for state in active urgent normal - do - _hc substitute C theme.${state}.inner_color \ - attr theme.${state}.outer_color C - done fi