i3status

发布时间 2023-12-10 00:52:02作者: c0ldzera
# 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 = 5
        color_good = "#81a1c1" # Light green
        color_degraded = "#fafe7c" # Light yellow
        color_bad = "#ff7770" # Light red
}

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

wireless _first_ {
        # format_up = "W: (%quality at %essid) %ip"
        format_up = " %essid/%ip"
        format_down = "? "
}

ethernet _first_ {
        # format_up = "E: %ip (%speed)"
        format_up = "? %ip"
        format_down = "?"
}

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

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

load {
        format = "%1min"
}

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

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

tztime local1 {
	format = "? %H:%M:%S"
}