# 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
        color_good = "#7cc7d6"
        color_bad = "#df2683"
        color_degraded = "#df2683"

}
# order += "ipv6"
order += "read_file now-playing"
order += "read_file now-crypto"
order += "volume master"
order += "wireless _first_"
order += "cpu_usage"
order += "disk /"
order += "disk /home/naiji/Mounts/hdd2/"
# order += "disk /home"
# order += "ethernet _first_"
# order += "battery all"
# order += "load"
order += "memory"
order += "tztime local"

read_file "now-playing" {
        path = "/home/naiji/.local/share/i3status/now-playing"
}

read_file "now-crypto" {
        path = "/home/naiji/.local/share/i3status/now-crypto"
}

cpu_usage {
        format = " cpu  %usage "
}

load {
        format = " load %1min "
        # max_threshold = 0.3
}

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

disk "/home/naiji/hdd1/" {
        # format = " hdd %avail "
        format = " ~/hdd1   %avail "
}

disk "/home/naiji/Mounts/hdd2/" {
        # format = " hdd %avail "
        format = " hdd2   %avail "
}

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

memory {
        format = " ram %available "
        threshold_degraded = "1G"
        format_degraded = " MEMORY < %available "
}

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

wireless _first_ {
    format_up = " %quality at %ip "
    format_down = " wifi dead "
}

volume master {
        format = " vol %volume "
        device = "default"
        mixer = "Master"
        mixer_idx = 0
}
