# 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 += "wireless _first_"
order += "ethernet _first_"
order += "cpu_usage"
order += "cpu_temperature 0"
order += "memory"
order += "battery all"
order += "volume master"
order += "time"

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

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

battery all {
        format = "%status %percentage %remaining"
        format_percentage = "%.00f%%"
        threshold_type = "time"
        low_threshold = "20"
        status_chr = "CHR"
        status_bat = "BAT"
        min_width = "CHR 100% 05:00"
        align = "center"
}

cpu_temperature 0 {
        format = "%degrees °C"
        min_width = "100 °C"
        align = "left"
}

cpu_usage {
       format = "CPU: %usage"
       separator = false
       min_width = "CPU: 100%"
       align = "right"
}

memory {
        format = "RAM: %used / %total"
        threshold_degraded = "1G"
        format_degraded = "MEMORY < %available"
        min_width = "RAM: 16.0 GiB / 16.0 GiB"
        align = "center"
}

time {
        format = "%d/%m/%Y %H:%M"
}

volume master {
       format = "♪ (%devicename): %volume" 
       format_muted = "♪ (%devicename): M"
       min_width = "♪ (Speaker): 100%"
       align = "center"
}
