b219f47f39
Since we have deterministic device names in Linux, these strings are a much better default in the i3status config than "eth0" and "wlan0" (what we used before).
58 lines
1.1 KiB
Plaintext
58 lines
1.1 KiB
Plaintext
# i3status configuration file.
|
|
# see "man i3status" for documentation.
|
|
|
|
# It is important that this file is edited as UTF-8.
|
|
# The following line should contain a sharp s:
|
|
# ß
|
|
# If the above line is not correctly displayed, fix your editor first!
|
|
|
|
general {
|
|
colors = true
|
|
interval = 5
|
|
}
|
|
|
|
order += "ipv6"
|
|
order += "disk /"
|
|
order += "run_watch DHCP"
|
|
order += "run_watch VPN"
|
|
order += "wireless _first_"
|
|
order += "ethernet _first_"
|
|
order += "battery 0"
|
|
order += "load"
|
|
order += "tztime local"
|
|
|
|
wireless _first_ {
|
|
format_up = "W: (%quality at %essid) %ip"
|
|
format_down = "W: down"
|
|
}
|
|
|
|
ethernet _first_ {
|
|
# if you use %speed, i3status requires root privileges
|
|
format_up = "E: %ip (%speed)"
|
|
format_down = "E: down"
|
|
}
|
|
|
|
battery 0 {
|
|
format = "%status %percentage %remaining"
|
|
}
|
|
|
|
run_watch DHCP {
|
|
pidfile = "/var/run/dhclient*.pid"
|
|
}
|
|
|
|
run_watch VPN {
|
|
pidfile = "/var/run/vpnc/pid"
|
|
}
|
|
|
|
tztime local {
|
|
format = "%Y-%m-%d %H:%M:%S"
|
|
}
|
|
|
|
load {
|
|
format = "%1min"
|
|
}
|
|
|
|
disk "/" {
|
|
format = "%avail"
|
|
}
|