# 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 += "volume master"
order += "ethernet _first_"
order += "ethernet wg0"
order += "wireless wlp1s0"
order += "ipv6"
order += "battery all"
#order += "cpu_usage"
order += "load"
order += "cpu_temperature package"
order += "memory"
order += "disk /"
order += "tztime local"

volume master {
	format = "vol %volume"
	format_muted = "muted (%volume)"
	device = "default"
	mixer = "Master"
	mixer_idx = 0
}

ipv6 {
	format_up = "%ip"
	format_down = ""
}

ethernet _first_ {
	format_up = "%interface:%ip"
	#format_up = "W:%ip"
	format_down = ""
}

ethernet wg0 {
        format_up = "wg0"
        format_down = ""
}

wireless wlp1s0 {
        format_up = "%essid"
        format_down = "wireless down"
}

battery all {
	format = "%status %percentage %remaining %consumption"
  format_down = "No battery"
  integer_battery_capacity = true
  status_chr = "CHR"
  status_bat = "BAT"
  status_unk = "UNK"
  status_full = "FULL"
}

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

cpu_usage {
	format = "CPU:%usage"
}

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

cpu_temperature package {
	format = "%degrees°C"
	path = "/sys/class/hwmon/hwmon1/temp1_input"
	max_threshold = 90
}

memory {
	#format = "%used|%available"
	format = "%used %percentage_used"
	threshold_degraded = "1G"
	format_degraded = "MEMORY < %available"
}

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