summaryrefslogtreecommitdiff
path: root/sh/sbar
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-06-26 00:39:03 -0700
committerXiao Pan <gky44px1999@gmail.com>2024-06-26 00:39:03 -0700
commita17e81edbbdacc5454597e603a4517237a47f76c (patch)
treec936a72f41f52d64edc251b38227d8b65c3fe37d /sh/sbar
parent69b2b14f08795d205715d9aa3378a600cd3d8ea3 (diff)
add wg_aa vpn things
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 9bdc8b8..e144511 100755
--- a/sh/sbar
+++ b/sh/sbar
@@ -16,6 +16,7 @@ update_time () {
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_ia:connected*) wg=I;;
*wg_mydefault:connected*) wg=D;;
*wg_studio:connected*) wg=S;;