diff options
| author | Xiao Pan <gky44px1999@gmail.com> | 2024-03-05 04:08:01 -0800 | 
|---|---|---|
| committer | Xiao Pan <gky44px1999@gmail.com> | 2024-03-05 04:08:01 -0800 | 
| commit | 201fe0d4adcf92049b920c1abd339e6507e25397 (patch) | |
| tree | d293682390633db64f22d0a20a5c5b522a6954ae /sh/sbar | |
| parent | 71965ce5113448945f4cc9c47a4c60d7c98c9d89 (diff) | |
feat: sbar wg add ia
Diffstat (limited to 'sh/sbar')
| -rwxr-xr-x | sh/sbar | 1 | 
1 files changed, 1 insertions, 0 deletions
| @@ -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_ia:connected*) vpn=I;;  		*wg_ka:connected*) vpn=K;;  		*wg_studio:connected*) vpn=S;;  		*) vpn=0;; | 
