From ea9c6783cc2c2707c02cd43435bdb2e84277e2f6 Mon Sep 17 00:00:00 2001 From: Nico Date: Fri, 19 Dec 2025 00:13:37 +1100 Subject: [PATCH] matugen: replace script process with borders instead of exiting --- stow/.config/matugen/config.toml | 2 +- stow/.config/matugen/templates/jankyborders.sh | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/stow/.config/matugen/config.toml b/stow/.config/matugen/config.toml index 0260ab9..f29f753 100644 --- a/stow/.config/matugen/config.toml +++ b/stow/.config/matugen/config.toml @@ -63,7 +63,7 @@ post_hook = 'sketchybar --reload' [templates.jankyborders] input_path = './templates/jankyborders.sh' output_path = '~/.cache/matugen-jankyborders.sh' -post_hook = 'sh ~/.cache/matugen-jankyborders.sh' +post_hook = 'sh ~/.cache/matugen-jankyborders.sh & disown' [templates.zsh] input_path = './templates/zsh.sh' diff --git a/stow/.config/matugen/templates/jankyborders.sh b/stow/.config/matugen/templates/jankyborders.sh index cf9de11..ce6a348 100644 --- a/stow/.config/matugen/templates/jankyborders.sh +++ b/stow/.config/matugen/templates/jankyborders.sh @@ -3,9 +3,7 @@ killall borders if [ "{{ rounding }}" = 0 ]; then - nohup borders active_color=0xFF{{colors.primary.default.hex_stripped}} inactive_color=0xFF{{colors.background.default.hex_stripped}} width=6.0 style=square > /dev/null & + exec borders active_color=0xFF{{colors.primary.default.hex_stripped}} inactive_color=0xFF{{colors.background.default.hex_stripped}} width=6.0 style=square else - nohup borders active_color=0xFF{{colors.primary.default.hex_stripped}} inactive_color=0xFF{{colors.background.default.hex_stripped}} width=6.0 style=round > /dev/null & + exec borders active_color=0xFF{{colors.primary.default.hex_stripped}} inactive_color=0xFF{{colors.background.default.hex_stripped}} width=6.0 style=round fi - -exit