1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-09-16 04:47:18 +00:00
Dotfiles/.config/polybar/polybar-scripts/vpn-anyconnect-status
2020-07-27 07:59:00 +03:00
..
screenshots add all dotfiles 2020-07-27 07:59:00 +03:00
README.md add all dotfiles 2020-07-27 07:59:00 +03:00
vpn-anyconnect-status.sh add all dotfiles 2020-07-27 07:59:00 +03:00

Script: vpn-anyconnect-status

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.

vpn-anyconnect-status vpn-anyconnect-status

Dependencies

  • ifconfig

Configuration

The Icon is from FantasqueSansMono.

Module

[module/vpn-anyconnect-status]
type = custom/script
exec = ~/bin/vpnstatus.sh
interval = 5