add current VPN to status bar

This commit is contained in:
Frieder Schlesier 2021-06-13 21:57:38 +02:00
parent 0a778357fa
commit 39b298869a
1 changed files with 10 additions and 7 deletions

View File

@ -24,6 +24,7 @@ order += "disk /media/driveBay"
order += "path_exists VPN"
#order += "ipv6"
order += "wireless wlp3s0"
order += "ethernet fschl-vpn"
order += "ethernet enp0s25"
order += "volume Master"
order += "battery 0"
@ -36,14 +37,20 @@ order += "tztime DE"
# look for icons: https://fontawesome.com/icons?d=gallery
wireless wlp3s0 {
format_up = " %essid (%quality) %ip"
format_down = " -"
format_up = " %essid(%quality) %ip"
format_down = "-"
}
ethernet fschl-vpn {
# if you use %speed, i3status requires root privileges
format_up = "VPN: %ip "
format_down = "VPN:-"
}
ethernet enp0s25 {
# if you use %speed, i3status requires root privileges
format_up = "E: %ip (%speed)"
format_down = "E: -"
format_down = "E:-"
}
battery 0 {
@ -64,10 +71,6 @@ run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
path_exists VPN {
path = "/proc/sys/net/ipv4/conf/wg0"
}
tztime local {
format = "%Y-%m-%d (%V) %a %H:%M:%S"
}