matugen: replace script process with borders instead of exiting
This commit is contained in:
parent
f76c0ecad8
commit
ea9c6783cc
2 changed files with 3 additions and 5 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue