summaryrefslogtreecommitdiff
path: root/home/xyz/.local
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-11-18 01:14:25 -0800
committerXiao Pan <gky44px1999@gmail.com>2023-11-18 01:14:25 -0800
commit8a2042ac0eeeed0b17c7c9b3912f6957fae576e5 (patch)
tree082056d44b97554fadad57173be1bcfa94f264b7 /home/xyz/.local
parentc02c62910175576e07fb5ef83124e1d8c3195bc2 (diff)
update
Diffstat (limited to 'home/xyz/.local')
-rwxr-xr-xhome/xyz/.local/bin/sbar4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/xyz/.local/bin/sbar b/home/xyz/.local/bin/sbar
index 182f451d..392b65ab 100755
--- a/home/xyz/.local/bin/sbar
+++ b/home/xyz/.local/bin/sbar
@@ -18,9 +18,9 @@ update_net () {
nm_device_state="$(nmcli -t --fields device,state device)"
vpn="$(
if echo "$nm_device_state" | grep -q '^wg_ka:connected$'; then
- echo k
+ echo K
elif echo "$nm_device_state" | grep -q '^wg_studio:connected$'; then
- echo s
+ echo S
else
echo 0
fi