summaryrefslogtreecommitdiff
path: root/sh/sbar
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2024-08-13 19:00:15 -0700
committerXiao Pan <xyz@flylightning.xyz>2024-08-13 19:00:15 -0700
commit0951beb37c88a50307e1e5872f80fb5bba36bd54 (patch)
tree4049ca8b05a3971146dd120685b2744176fa9f7a /sh/sbar
parent903c04bd8b831acaf9a3dc863f9bbb8fc601a0d1 (diff)
new ca wg
Diffstat (limited to 'sh/sbar')
-rwxr-xr-xsh/sbar1
1 files changed, 1 insertions, 0 deletions
diff --git a/sh/sbar b/sh/sbar
index e144511..b378619 100755
--- a/sh/sbar
+++ b/sh/sbar
@@ -17,6 +17,7 @@ update_net () {
net="$(if nmcli -t --fields type,state device | grep -q '^\(ethernet\|wifi\):connected$'; then echo 1; else echo 0; fi)"
case "$(nmcli -t --fields device,state device)" in
*wg_aa:connected*) wg=A;;
+ *wg_ca:connected*) wg=C;;
*wg_ia:connected*) wg=I;;
*wg_mydefault:connected*) wg=D;;
*wg_studio:connected*) wg=S;;