Update default config
This commit is contained in:
parent
c303057868
commit
717b1e3446
@ -1,33 +1,53 @@
|
|||||||
# Name of wlan/ethernet devices
|
general {
|
||||||
wlan wlan0
|
colors = true
|
||||||
eth eth0
|
interval = 5
|
||||||
|
}
|
||||||
|
|
||||||
# Path to wmii (not relevant for dzen mode)
|
order = "ipv6"
|
||||||
wmii_path /mnt/wmii/rbar/
|
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)
|
wireless wlan0 {
|
||||||
time_format %d.%m.%Y %H:%M:%S
|
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
|
ethernet eth0 {
|
||||||
battery 0
|
# if you use %speed, i3status requires root privileges
|
||||||
|
format = "E: %ip (%speed)"
|
||||||
|
}
|
||||||
|
|
||||||
# Check if DHCP/VPN clients are running
|
battery 0 {
|
||||||
run_watch DHCP /var/run/dhclient*.pid
|
format = "%status %remaining"
|
||||||
run_watch VPN /var/run/vpnc/pid
|
}
|
||||||
|
|
||||||
order ipv6,run,wlan,eth,battery,cpu_temperature,load,time
|
run_watch DHCP {
|
||||||
|
pidfile = "/var/run/dhclient*.pid"
|
||||||
|
}
|
||||||
|
|
||||||
# Specifies background and border color
|
run_watch VPN {
|
||||||
normcolors #000000 #333333
|
pidfile = "/var/run/vpnc/pid"
|
||||||
|
}
|
||||||
|
|
||||||
# Enables colors
|
time {
|
||||||
color
|
format = "%Y-%m-%d %H:%M:%S"
|
||||||
|
}
|
||||||
|
|
||||||
# Checks ethernet interface speed (this needs root privileges)
|
load {
|
||||||
get_ethspeed
|
format = "%5min"
|
||||||
|
}
|
||||||
|
|
||||||
# Checks core temperature
|
cpu_temperature 0 {
|
||||||
get_cpu_temperature
|
format = "T: %degrees °C"
|
||||||
|
}
|
||||||
|
|
||||||
# Get IPv6 public address
|
disk "/" {
|
||||||
get_ipv6
|
format = "%free"
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user