diff options
| author | Xiao Pan <gky44px1999@gmail.com> | 2023-11-18 01:14:25 -0800 |
|---|---|---|
| committer | Xiao Pan <gky44px1999@gmail.com> | 2023-11-18 01:14:25 -0800 |
| commit | 8a2042ac0eeeed0b17c7c9b3912f6957fae576e5 (patch) | |
| tree | 082056d44b97554fadad57173be1bcfa94f264b7 /home/xyz/.local/bin/sbar | |
| parent | c02c62910175576e07fb5ef83124e1d8c3195bc2 (diff) | |
update
Diffstat (limited to 'home/xyz/.local/bin/sbar')
| -rwxr-xr-x | home/xyz/.local/bin/sbar | 4 |
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 |
