# 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
        color_bad = "#FF8800"
        color_good = "#00AAFF"
        interval = 2
}

order += "wireless _first_"
order += "ethernet _first_"
order += "path_exists VPN"
order += "load"
order += "cpu_usage"
order += "cpu_temperature 0"
order += "disk /"
order += "volume master"
order += "battery 0"
order += "tztime local"

wireless _first_ {
        format_up = "⌔ %essid%quality %bitrate %ip"
        format_down = ""
}

ethernet _first_ {
        # if you use %speed, i3status requires root privileges
        format_up = "⇵ %speed %ip"
        format_down = ""
}

battery 0 {
        format = "%status %percentage %remaining"
		integer_battery_capacity = true
		hide_seconds = true
        format_down = "×"
        status_chr = "⍐"
        status_bat = "⍗"
        status_unk = "⍰"
        status_full = "⌼"
        path = "/sys/class/power_supply/BAT%d/uevent"
        low_threshold = 6
        threshold_type = percentage
}

tztime local {
        format = "%a %-d %b %H:%M"
}

load {
        format = "%1min"
}

cpu_usage {
	format = "%usage"
	max_threshold = 75
	degraded_threshold = 25
}

cpu_temperature 0 {
	format = "%degrees°C"
	format_above_threshold = "⚠ %degrees°C"
	max_threshold = 60
	path = "/sys/class/thermal/thermal_zone5/temp"
}

disk "/" {
        format = "%avail"
        low_threshold = 100
        threshold_type = gbytes_avail
}

volume master {
	format = "♪ %volume"
	format_muted = "♪× (%volume)"
	device = "default"
	mixer = "Master"
	mixer_idx = 0
}

path_exists VPN {
	format_down = ""
	format = "⛢ %title"
	path = "/proc/sys/net/ipv4/conf/tun0"
}
