Add fixed constellation inspection mode
This commit is contained in:
parent
344fa08dbb
commit
4e01c768c9
2 changed files with 96 additions and 12 deletions
12
preview-constellation.sh
Executable file
12
preview-constellation.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
STATE_FILE=/tmp/skeledance-constellation-preview
|
||||
SIGN=${1:-Vir}
|
||||
|
||||
if [ "$SIGN" = "off" ]; then
|
||||
printf 'off\n' > "$STATE_FILE"
|
||||
printf 'Prévia de constelação desativada\n'
|
||||
else
|
||||
printf '%s\n' "$SIGN" > "$STATE_FILE"
|
||||
printf 'Prévia fixa: %s\n' "$SIGN"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue