refactor: controla constelações por script de atalho

This commit is contained in:
vini 2026-07-19 13:52:31 -03:00
parent 740c9b836b
commit bfb8f31952
5 changed files with 26 additions and 12 deletions

9
toggle-constellations.sh Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
STATE_FILE=/tmp/skeledance-constellations
if [ "$(cat "$STATE_FILE" 2>/dev/null)" = "1" ]; then
printf '0\n' > "$STATE_FILE"
else
printf '1\n' > "$STATE_FILE"
fi