Skip to content

Instantly share code, notes, and snippets.

@dch
Created July 18, 2018 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dch/7ffad3a8f5af3484542cedec78df4de3 to your computer and use it in GitHub Desktop.
Save dch/7ffad3a8f5af3484542cedec78df4de3 to your computer and use it in GitHub Desktop.
# 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
output_format = "i3bar"
}
order += "disk /"
# order += "run_watch wifi"
order += "path_exists zt"
order += "ipv6"
#order += "wireless _first_"
#order += "ethernet _first_"
order += "battery 0"
order += "load"
order += "cpu_temperature 0"
order += "tztime today"
order += "tztime utc"
order += "tztime vienna"
order += "tztime wellington"
order += "tztime vancouver"
order += "tztime phoenix"
order += "tztime halifax"
order += "tztime sydney"
# order += "tztime ottawa"
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 wifi {
pidfile = "/var/run/dhclient.wlan0.pid"
}
path_exists zt {
path = "/dev/tap9993"
}
tztime today {
format = "%Y%m%d"
timezone = "UTC"
}
tztime utc {
format = "UTC %H:%M"
timezone = "UTC"
}
tztime vienna {
format = "VIE %H:%M"
timezone = "Europe/Vienna"
}
tztime wellington {
format = "NZ %H:%M"
timezone = "Pacific/Auckland"
}
tztime halifax {
format = "YHZ %H:%M"
timezone = "America/Halifax"
}
tztime ottawa {
format = "YOW %H:%M"
timezone = "America/Toronto"
}
tztime vancouver {
format = "PHX %H:%M"
timezone = "America/Vancouver"
}
tztime phoenix {
format = "YVR %H:%M"
timezone = "America/Phoenix"
}
tztime sydney {
format = "SYD %H:%M"
timezone = "Australia/Sydney"
}
load {
format = "%1min"
# format = "[%1min, %5min, %15min]"
}
disk "/" {
format = "%avail"
}
cpu_temperature 0 {
format = "%degrees°C"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment