matugen: set jankyborders style to square if rounding is 0

This commit is contained in:
Nico 2025-10-15 21:34:27 +11:00
parent dd8f04f63b
commit 3d46bbf25d
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0

View file

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