Update default config

This commit is contained in:
Michael Stapelberg 2009-10-15 20:42:46 +02:00
parent c303057868
commit 717b1e3446

View File

@ -1,33 +1,53 @@
# Name of wlan/ethernet devices
wlan wlan0
eth eth0
general {
colors = true
interval = 5
}
# Path to wmii (not relevant for dzen mode)
wmii_path /mnt/wmii/rbar/
order = "ipv6"
order += "disk /"
order += "run_watch DHCP"
order += "run_watch VPN"
order += "wireless wlan0"
order += "ethernet eth0"
order += "battery 0"
order += "cpu_temperature 0"
order += "load"
order += "time"
# Format of date/time, see strftime(3)
time_format %d.%m.%Y %H:%M:%S
wireless wlan0 {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
# Use battery 0,f to use the last full capacity instead of the design capacity
battery 0
ethernet eth0 {
# if you use %speed, i3status requires root privileges
format = "E: %ip (%speed)"
}
# Check if DHCP/VPN clients are running
run_watch DHCP /var/run/dhclient*.pid
run_watch VPN /var/run/vpnc/pid
battery 0 {
format = "%status %remaining"
}
order ipv6,run,wlan,eth,battery,cpu_temperature,load,time
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
# Specifies background and border color
normcolors #000000 #333333
run_watch VPN {
pidfile = "/var/run/vpnc/pid"
}
# Enables colors
color
time {
format = "%Y-%m-%d %H:%M:%S"
}
# Checks ethernet interface speed (this needs root privileges)
get_ethspeed
load {
format = "%5min"
}
# Checks core temperature
get_cpu_temperature
cpu_temperature 0 {
format = "T: %degrees °C"
}
# Get IPv6 public address
get_ipv6
disk "/" {
format = "%free"
}