Skip to content

Instantly share code, notes, and snippets.

@emiller
Last active October 25, 2015 01:14
Show Gist options
  • Save emiller/b382822162b3e9f9a67d to your computer and use it in GitHub Desktop.
Save emiller/b382822162b3e9f9a67d to your computer and use it in GitHub Desktop.
i3status
#
# i3 `status_command` config
#
# @author emiller
# @date 2014-09-09
#
general {
interval = 5
colors = true
color_bad = "#CC1111"
color_degraded = "#d1cc55"
color_good = "#729FCF"
}
order += "ethernet eth0"
order += "wireless wlan0"
order += "battery 0"
order += "battery 1"
order += "load"
order += "cpu_temperature 0"
order += "volume master"
order += "time"
battery 0 {
format = " battery %percentage %remaining "
format_down = ""
path = "/sys/class/power_supply/BAT%d/uevent"
}
battery 1 {
format = " battery %percentage %remaining "
format_down = ""
path = "/sys/class/power_supply/BAT%d/uevent"
}
cpu_temperature 0 {
format = " temp %degrees° "
path = "/sys/devices/platform/coretemp.0/temp1_input"
}
disk "/" {
format = "%free"
}
ethernet eth0 {
format_down = " eth0 -.- "
format_up = " eth0 > %ip "
}
load {
format = " load %5min "
}
wireless wlan0 {
format_down = " wlan0 -.- "
format_up = " wlan0 >> %essid > %ip "
}
volume master {
format = " vol %volume "
format_muted = " vol -.- "
}
time {
format = " %m-%d @ %I:%M "
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment