i3-status 配置
i3-status有默认配置
archwiki-i3-statu
拷贝默认配置文件到家目录
cp /etc/i3status.conf ~/.config/i3status/config
我的配置
# 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 = trueinterval = 5
}# order += "ipv6"
# order += "wireless _first_"
# order += "ethernet _first_"
order += "battery all"
order += "memory"
order += "disk /"
# order += "load"
order += "cpu_temperature 0"
order += "tztime local"wireless _first_ {format_up = "W: (%quality at %essid) %ip"format_down = "W: down"
}ethernet _first_ {format_up = "E: %ip (%speed)"format_down = "E: down"
}battery all {# format = "%status %percentage %remaining"# format = "%status %percentage %remaining %emptytime"format = "%status %percentage %remaining"format_down = "No battery"status_chr = "⚡ CHR"status_bat = "🔋 BAT"status_unk = "? UNK"status_full = "☻ FULL"path = "/sys/class/power_supply/BAT%d/uevent"# low_threshold = 10
}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"
}cpu_temperature 0 {format = "T: %degrees °C"
}