1

i3status-anyevent: Add simple net if state indicator

This commit is contained in:
eleksir
2021-02-21 17:56:26 +03:00
parent 0d2453623c
commit 7d4e8dccb4
2 changed files with 53 additions and 2 deletions

View File

@@ -51,7 +51,7 @@
"tcp_check" : {
"enabled": 0,
"host": "somehost.tld",
"port": "443",
"port": 443,
"timeout" : 3
}
},
@@ -61,6 +61,23 @@
# so it's not light on system resources as i'd like
"simple-volume-pa": 0,
"net-if" : {
"enabled" : 0,
# html (actually, pango) notation
"down_color" : "red",
"up_color" : "green",
"if" : [
{
"name" : "eth0",
"dir" : "/sys/class/net/eth0"
},
{
"name" : "wlan0",
"dir" : "/sys/class/net/wlan0"
}
]
},
# Weather to display Application Buttons
"app_buttons": 1,