# 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 = 1
}

order += "cpu_usage"
# order += "memory"
# order += "ipv6"
# order += "disk /"
# order += "wireless _first_"
order += "ethernet _first_"
# order += "battery all"
# order += "load"
order += "tztime local"

cpu_usage {
    # %usage - процентное использование ЦП
    # %cpu<N> - начиная с %cpu0 и далее показывает использование ядер
    format = " %usage"

    # доступны параметры:
    # degraded_threshold, окрас в желтый, по умолчанию 90
    # max_threshold, окрас в красный, по умолчанию 95
    # и кастомные форматы для них
    # format_above_degraded_threshold и format_above_threshold
}

# Memory {
    # # доступные переменные:
    # # %total, percentage_total
    # # %used, percentage_used
    # # %free, percentage_free
    # # %available, percentage_available
    # # %shared, percentage_shared
    # format = " %used"
#
    # # порог, при котором вывод окрасится в
    # # желтый (degraded) или красный (critical)
    # # а формат вывода изменится на format_degraded
    # threshold_degraded = "1G"
    # threshold_critical = "200M"
    # format_degraded = "MEMORY < %available"
# }

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 = " (%speed)"
        format_down = "E: down"
}

battery all {
        format = "%status %percentage %remaining"
}

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

load {
        format = "%1min"
}

disk "/" {
        format = "%avail"
}
