mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
further sway aesthetics changes
This commit is contained in:
parent
9c83d7cfd7
commit
ce5c5f7f7c
6 changed files with 20 additions and 20 deletions
|
|
@ -4,9 +4,9 @@ set -o pipefail
|
|||
|
||||
if gpg --card-status &> /dev/null; then
|
||||
user="$(gpg --card-status | grep 'Login data' | awk '{print $NF}')";
|
||||
status='{"text": "", "alt": "User: '"$user"'", "class": "enabled"}'
|
||||
status='{"text": "", "alt": "User: '"$user"'", "class": "enabled"}'
|
||||
else
|
||||
status='{"text": "", "alt": "No card is connected.", "class": "disabled"}'
|
||||
status='{"text": "", "alt": "No card is connected.", "class": "disabled"}'
|
||||
fi
|
||||
|
||||
echo $status
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@ set -o pipefail
|
|||
sleep 0.5s
|
||||
|
||||
if systemctl --user is-active konawall-rotation.timer --quiet; then
|
||||
status='{"text": "", "alt": "Konawall is enabled.", "class": "enabled"}'
|
||||
status='{"text": "", "alt": "Konawall is enabled.", "class": "enabled"}'
|
||||
else
|
||||
status='{"text": "", "alt": "Konawall is disabled.", "class": "disable"}'
|
||||
status='{"text": "", "alt": "Konawall is disabled.", "class": "disabled"}'
|
||||
fi
|
||||
|
||||
echo $status
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue