# 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
        separator = ""
        output_format = "i3bar"
        interval = 2
}

order += "path_exists VPN"
order += "disk /"
order += "disk /home"
order += "cpu_usage"
order += "load"
order += "memory"
order += "cpu_temperature 0"
order += "battery all"
order += "tztime local"
order += "volume master"

volume master {
        format = "🔊 %volume"
        format_muted = "🔇 %volume"
}

disk "/" {
        format = "🌱 %avail"
        low_threshold = 25
        threshold_type = percentage_avail
}

disk "/home" {
        format = "🏡 %avail"
        low_threshold = 25
        threshold_type = percentage_avail
}

path_exists VPN {
        # path exists when a VPN tunnel is active
        format = "🖧 ON"
          format_down = "🖧 OFF"
          path = "/proc/sys/net/ipv4/conf/tun0"
}

battery all {
        format = "%status %percentage"
        integer_battery_capacity = true
        status_chr = "⚡"
        status_bat = "🔋"
        status_full = "☻"
        last_full_capacity = true
}

load {
        format = "👣 %1min %5min %15min"
}

memory {
        format = "⚖️ %used"
        threshold_degraded = "1G"
        format_degraded = "⛔ < %available"
}

cpu_temperature 0 {
        format = "🌡️ %degrees °C"
        max_threshold = 80
        format_above_threshold = "🔥 %degrees °C"
        path = "/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp1_input"
}

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

cpu_usage {
        format = "💻 %usage"
}
