jankyborders: actually make the matugen script work

shouldn't hang which is better for setting border colours with matugen
This commit is contained in:
Nico 2025-11-14 18:50:13 +11:00
parent b1ffbf0841
commit 4a2747ac86
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0

View file

@ -1,9 +1,11 @@
#!/bin/sh
borders active_color=0xFF{{colors.primary.default.hex_stripped}} inactive_color=0xFF{{colors.surface_dim.default.hex_stripped}} width=6.0
killall borders
if [ "{{custom.rounding}}" = 0 ]; then
borders style=square
nohup borders active_color=0xFF{{colors.primary.default.hex_stripped}} inactive_color=0xFF{{colors.surface_dim.default.hex_stripped}} width=6.0 style=square > /dev/null &
else
borders style=round
nohup borders active_color=0xFF{{colors.primary.default.hex_stripped}} inactive_color=0xFF{{colors.surface_dim.default.hex_stripped}} width=6.0 style=round > /dev/null &
fi
exit