# i3status configuration file.
# see "man i3status" for documentation.

general {
	interval = 2
	colors = true
	color_good = "#2ecc71"
	color_degraded = "#f39c12"
	color_bad = "#e74c3c"
}

read_file cmusctl.status {
	format = "%content"
	path = "/tmp/cmusctl.status"
}

run_watch Docker {
	pidfile = "/run/docker.pid"
	format = "D: %status"
}

wireless _first_ {
	format_up = "W: (%quality at %essid, %bitrate) %ip"
	format_down = "W: down"
}

ethernet _first_ {
	# if you use %speed, i3status requires root privileges
	format_up = "E: %ip (%speed)"
	format_down = "E: down"
}

load {
	format = "cpu: %1min, %5min, %15min"
}

memory {
	format = "mem: %percentage_free / %total"
	threshold_degraded = "10%"
	format_degraded = "MEMORY: %free"
}

disk "/" {
	format = "R: %percentage_used"
	low_threshold = 70
	threshold_type = "percentage_used"
}

disk "/home" {
	format = "H: %percentage_used"
	low_threshold = 70
	threshold_type = "percentage_used"
}

volume master {
	format = "🔊 %volume"
	format_muted = "🔇 %volume"
	device = "default"
	mixer = "Master"
	mixer_idx = 0
}

battery 0 {
	format = "%status %percentage"
	format_down = "No battery"
	status_chr = "⚡"
	status_bat = "🪫"
	status_full = "🔋"
	status_unk = "?"
	low_threshold = 20
	last_full_capacity = true
	integer_battery_capacity = true
	path = "/sys/class/power_supply/BAT%d/uevent"
}

tztime local {
	format = "%Y-%m-%d %H:%M:%S"
}
