Skip to content

Instantly share code, notes, and snippets.

@ZhiguoLong
Created February 14, 2016 06:54
Show Gist options
  • Select an option

  • Save ZhiguoLong/a18219f103e21a57a7e0 to your computer and use it in GitHub Desktop.

Select an option

Save ZhiguoLong/a18219f103e21a57a7e0 to your computer and use it in GitHub Desktop.
i3 helper configuration of status bar
# 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 += "run_watch VPN"
#order += "cpu_usage"
#order += "cpu_temperature 0"
#order += "battery 0"
order += "ethernet eth0"
order += "volume master"
order += "tztime local"
#cpu_temperature 0 {
# format = " T: %degrees °C "
# path = "/sys/devices/platform/coretemp.0/temp1_input"
#}
#battery 0 {
# format = " %status %percentage %remaining "
#}
#run_watch VPN {
# pidfile = "/var/run/vpnc/pid"
#}
tztime local {
format = " %Y-%m-%d %H:%M "
}
ethernet eth0 {
# if you use %speed, i3status requires root privileges
# format_up = " Ω: %ip "
# format_down = " ∅ eth0 "
# termsyn font
format_up = " E: %ip "
format_down = " Ð eth0 "
}
volume master {
format = "♪: %volume"
format_muted = "♪: muted (%volume)"
device = "default"
mixer = "Master"
mixer_idx = 0
}
#cpu_usage {
# format = " %usage "
#}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment