# 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 enp3s0"
order += "ethernet eno2"
order += "ipv6"
order += "disk /"
#order += "cpu_usage"
order += "load"
order += "cpu_temperature package"
order += "memory"
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 enp3s0 {
	#format_up = "%interface: %ip"
	format_up = "%interface: %ip [%speed]"
	format_down = ""
}

ethernet eno2 {
	#format_up = "%interface: %ip"
	format_up = "%ip [%speed]"
	format_down = ""
}

battery all {
	format = "%percentage"
}

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

cpu_usage {
	format = "CPU: %usage"
}

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

cpu_temperature package {
	format = "%degrees°C"
        path = "/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp1_input"
	#path = "/sys/class/hwmon/hwmon9/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"
}
