chore: Use lock outline for locked appearance

This commit is contained in:
Kyle Gospodnetich 2024-04-21 14:33:41 -07:00
parent b966293083
commit 2be96e15ff

View File

@ -1,10 +1,10 @@
#!/usr/bin/bash
RED='\033[6;31m'
RED_FLASHING='\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 " "
echo -n -e " "
else
echo -n -e " ${RED}"
echo -n -e " ${RED_FLASHING}"
fi