X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=i3status.conf;h=7052e23d106a475ddde209ebb2c6a34aa3e4afc5;hb=562a879f7c40bb7586e2d4b8dc55cf3171e5d43d;hp=4b204b08b0383b441c4f6914a46d4b83cfc6a29e;hpb=b7bf1dd7220f73b0d27e94e69099d14064b14661;p=i3%2Fi3status diff --git a/i3status.conf b/i3status.conf index 4b204b0..7052e23 100644 --- a/i3status.conf +++ b/i3status.conf @@ -1,27 +1,57 @@ -# Name of wlan/ethernet devices -wlan wlan0 -eth eth0 - -# Path to wmii (not relevant for dzen mode) -wmii_path /mnt/wmii/rbar/ - -# Format of date/time, see strftime(3) -time_format %d.%m.%Y %H:%M:%S - -# Use battery 0,f to use the last full capacity instead of the design capacity -battery 0 - -# Check if DHCP/VPN clients are running -run_watch DHCP /var/run/dhclient*.pid -run_watch VPN /var/run/vpnc/pid - -order run,wlan,eth,battery,load,time - -# Specifies background and border color -normcolors #000000 #333333 - -# Enables colors -color - -# Checks ethernet interface speed (this needs root privileges) -get_ethspeed +# 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" +}