mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-25 03:40:33 +00:00
chore: Use white for locked, flash red for unlocked
This commit is contained in:
parent
0134c2a35d
commit
b966293083
@ -1,11 +1,10 @@
|
||||
#!/usr/bin/bash
|
||||
RED='\033[0;31m'
|
||||
LIGHTBLUE='\033[1;34m'
|
||||
RED='\033[6;31m'
|
||||
|
||||
echo -n $(jq -r '"\(.["image-name"]):\(.["image-branch"])"' < /usr/share/ublue-os/image-info.json)
|
||||
|
||||
if [[ "$(rpm-ostree status --json --booted)" =~ "ostree-image-signed" ]]; then
|
||||
echo -n -e " ${LIGHTBLUE}"
|
||||
echo -n -e " "
|
||||
else
|
||||
echo -n -e " ${RED}"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user