config update
This commit is contained in:
@@ -29,7 +29,9 @@ order += "ipv6"
|
||||
order += "wireless _first_"
|
||||
order += "ethernet _first_"
|
||||
#order += "run_watch DHCP"
|
||||
order += "path_exists VPN"
|
||||
order += "path_exists ovpn"
|
||||
order += "path_exists wgvpn"
|
||||
order += "path_exists wg0"
|
||||
order += "battery all"
|
||||
order += "cpu_temperature 0"
|
||||
order += "load"
|
||||
@@ -62,11 +64,19 @@ disk "/" {
|
||||
format = "%avail"
|
||||
}
|
||||
|
||||
path_exists VPN {
|
||||
path_exists ovpn {
|
||||
# path exists when a VPN tunnel launched by nmcli/nm-applet is active
|
||||
path = "/proc/sys/net/ipv4/conf/tun0"
|
||||
}
|
||||
|
||||
path_exists wgvpn {
|
||||
# path exists when a WireGuard VPN tunnel is active
|
||||
path = "/proc/sys/net/ipv4/conf/wgpia0"
|
||||
}
|
||||
path_exists wg0 {
|
||||
# path exists when a WireGuard VPN tunnel is active
|
||||
path = "/proc/sys/net/ipv4/conf/wg0"
|
||||
}
|
||||
run_watch DHCP {
|
||||
pidfile = "/var/run/dhclient*.pid"
|
||||
}
|
||||
|
||||
@@ -256,8 +256,9 @@ bar {
|
||||
|
||||
mode dock
|
||||
hidden_state hide
|
||||
modifier Mod1
|
||||
|
||||
#modifier Mod1
|
||||
modifier ""
|
||||
|
||||
colors {
|
||||
background $base00
|
||||
separator $base03
|
||||
|
||||
Reference in New Issue
Block a user