81 lines
1.7 KiB
Text
Executable file
81 lines
1.7 KiB
Text
Executable file
# 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 {
|
|
output_format = "i3bar"
|
|
colors = true
|
|
interval = 5
|
|
color_good = "#40AA40"
|
|
markup = "pango"
|
|
}
|
|
|
|
order += "read_file PENDING_UPDATE"
|
|
order += "ipv6"
|
|
order += "wireless _first_"
|
|
order += "ethernet _first_"
|
|
order += "battery all"
|
|
order += "disk /"
|
|
order += "load"
|
|
order += "cpu_usage"
|
|
order += "memory"
|
|
order += "volume master"
|
|
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"
|
|
}
|
|
|
|
disk "/" {
|
|
format = "%avail"
|
|
}
|
|
|
|
load {
|
|
format = "%1min waiting process/min"
|
|
}
|
|
|
|
volume master {
|
|
format = "♪: %volume"
|
|
format_muted = "♪: muted (%volume)"
|
|
device = "default"
|
|
mixer = "Master"
|
|
mixer_idx = 0
|
|
}
|
|
|
|
memory {
|
|
format = "%used -- %available"
|
|
threshold_degraded = "1G"
|
|
format_degraded = "MEMORY < %available"
|
|
}
|
|
|
|
tztime local {
|
|
format = "%time "
|
|
format_time = "%Y-%m-%d %H:%M:%S"
|
|
}
|
|
|
|
cpu_usage {
|
|
format = "%usage CPU_0: %cpu0 CPU_1: %cpu1"
|
|
max_threshold = 75
|
|
format_above_threshold = "CPU > %usage"
|
|
degraded_threshold = 50
|
|
format_above_degraded_threshold = "CPU > %usage"
|
|
}
|
|
|
|
read_file PENDING_UPDATE {
|
|
format = "pending updates: %content"
|
|
path = "/run/user/1000/pending-updates"
|
|
}
|