vpn-anyconnect-status: update README.md
This commit is contained in:
parent
6a9db23be3
commit
1967c40a1e
@ -1,19 +1,28 @@
|
|||||||
# Script: anyconnect-status
|
# Script: vpn-anyconnect-status
|
||||||
|
|
||||||
Checks if an interface named `cscotun` exists, if not display a red `VPN DISCONNECTED` message. If connected, displays it's IP address.
|
A small script to show the anyconnect status.
|
||||||
|
|
||||||

|
If an interface named `cscotun` exists the IP address will be displayed. Otherwise it displays `VPN DISCONNECTED`.
|
||||||

|
|
||||||
|
|
||||||
## Glyph
|

|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
## Dependencies
|
||||||
|
|
||||||
|
* `ifconfig`
|
||||||
|
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
You like that icon? It's `賓` from [FantasqueSansMono](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FantasqueSansMono/Regular/complete).
|
||||||
|
|
||||||
Like that glyph? It's 賓 from [FantasqueSansMono](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FantasqueSansMono/Regular/complete)
|
|
||||||
|
|
||||||
## Module
|
## Module
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
[module/vpn]
|
[module/vpn-anyconnect-status]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = ~/bin/vpnstatus.sh
|
exec = ~/bin/vpnstatus.sh
|
||||||
interval = 3.0
|
interval = 5
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user