# 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 {
  output_format = "i3bar"
  colors = true
  color_good = "#00FF00"
  color_degraded = "#FFFF00"
  color_bad = "#FF0000"
  interval = 1
}

order += "ipv6"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery _first_"
order += "disk /"
order += "cpu_temperature 1"
order += "cpu_usage"
order += "load"
order += "memory"
order += "tztime local"
order += "read_file uptime"

ipv6 {
        format_up = "V6: %ip"
        format_down = "V6: NA"
}

wireless _first_ {
        format_up = "W: %ip%quality"
        format_down = "W: down"
}

ethernet _first_ {
        format_up = "E: %ip (%speed)"
        format_down = "E: down"
}

battery _first_ {
        format = "%status %percentage %remaining"
        format_down = "!!! NO BAT"
        status_chr = "CHR"
        status_bat = "BAT"
        status_unk = "UNK"
        status_full = "FUL"
        low_threshold = "5"
        threshold_type = "time"
        last_full_capacity = true
}

disk "/" {
        format = "DISK: %used/%total"
}

cpu_temperature 1 {
        format = "CTMP: %degrees °C"
        path = "/sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input"
}

cpu_usage {
        format = "CUSG: %usage"
}

load {
        format = "LOAD: %1min"
}

memory {
        format = "RAM: %used/%total"
        threshold_degraded = "1G"
        format_degraded = "RAM: < %available"
}

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

read_file uptime {
        format = "UP: %content"
        format_bad = "UP: %errno - %error"
        path = "/proc/uptime"
}