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