2022-05-27 21:07:07 +02:00
|
|
|
# i3status configuration file.
|
|
|
|
# see "man i3status" for documentation.
|
|
|
|
|
|
|
|
general {
|
|
|
|
interval = 2
|
|
|
|
colors = true
|
|
|
|
color_good = "#2ecc71"
|
|
|
|
color_degraded = "#f39c12"
|
|
|
|
color_bad = "#e74c3c"
|
|
|
|
}
|
|
|
|
|
|
|
|
order += "read_file cmusctl.status"
|
|
|
|
order += "run_watch Docker"
|
|
|
|
order += "wireless _first_"
|
|
|
|
order += "ethernet _first_"
|
|
|
|
order += "load"
|
|
|
|
order += "memory"
|
|
|
|
order += "disk /"
|
|
|
|
order += "disk /home"
|
|
|
|
order += "disk /mnt/das/hdd2tb-1-main"
|
|
|
|
order += "disk /mnt/das/hdd4tb-1-main"
|
|
|
|
order += "read_file borg_backup"
|
|
|
|
order += "volume master"
|
2022-05-29 00:09:04 +02:00
|
|
|
order += "battery 0"
|
2022-05-27 21:07:07 +02:00
|
|
|
order += "tztime local"
|
|
|
|
|
|
|
|
read_file cmusctl.status {
|
|
|
|
format = "%content"
|
|
|
|
path = "/tmp/cmusctl.status"
|
|
|
|
}
|
|
|
|
|
|
|
|
run_watch Docker {
|
|
|
|
pidfile = "/run/docker.pid"
|
|
|
|
format = "D: %status"
|
|
|
|
}
|
|
|
|
|
|
|
|
wireless _first_ {
|
|
|
|
format_up = "W: (%quality at %essid, %bitrate) %ip"
|
|
|
|
format_down = "W: down"
|
|
|
|
}
|
|
|
|
|
|
|
|
ethernet _first_ {
|
|
|
|
# if you use %speed, i3status requires root privileges
|
|
|
|
format_up = "E: %ip (%speed)"
|
|
|
|
format_down = "E: down"
|
|
|
|
}
|
|
|
|
|
|
|
|
load {
|
|
|
|
format = "cpu: %1min, %5min, %15min"
|
|
|
|
}
|
|
|
|
|
|
|
|
memory {
|
|
|
|
format = "mem: %percentage_free / %total"
|
|
|
|
threshold_degraded = "10%"
|
|
|
|
format_degraded = "MEMORY: %free"
|
|
|
|
}
|
|
|
|
|
|
|
|
disk "/" {
|
|
|
|
format = "R: %percentage_used"
|
|
|
|
low_threshold = 70
|
|
|
|
threshold_type = "percentage_used"
|
|
|
|
}
|
|
|
|
|
|
|
|
disk "/home" {
|
|
|
|
format = "H: %percentage_used"
|
|
|
|
low_threshold = 70
|
|
|
|
threshold_type = "percentage_used"
|
|
|
|
}
|
|
|
|
|
|
|
|
disk "/mnt/das/hdd2tb-1-main" {
|
|
|
|
format = "2TB: %percentage_used"
|
|
|
|
low_threshold = 70
|
|
|
|
threshold_type = "percentage_used"
|
|
|
|
}
|
|
|
|
|
|
|
|
disk "/mnt/das/hdd4tb-1-main" {
|
|
|
|
format = "4TB: %percentage_used"
|
|
|
|
low_threshold = 70
|
|
|
|
threshold_type = "percentage_used"
|
|
|
|
}
|
|
|
|
|
|
|
|
read_file borg_backup {
|
|
|
|
format = "B: %content"
|
|
|
|
path = "/var/tmp/last_borg_backup"
|
|
|
|
}
|
|
|
|
|
|
|
|
volume master {
|
2022-05-29 00:09:04 +02:00
|
|
|
format = "🔊 %volume"
|
|
|
|
format_muted = "🔇 %volume"
|
2022-05-27 21:07:07 +02:00
|
|
|
device = "default"
|
|
|
|
mixer = "Master"
|
|
|
|
mixer_idx = 0
|
|
|
|
}
|
|
|
|
|
2022-05-29 00:09:04 +02:00
|
|
|
battery 0 {
|
|
|
|
format = "%status %percentage"
|
|
|
|
format_down = "No battery"
|
|
|
|
status_chr = "⚡"
|
|
|
|
status_bat = "🪫"
|
|
|
|
status_full = "🔋"
|
|
|
|
status_unk = "?"
|
|
|
|
low_threshold = 20
|
|
|
|
last_full_capacity = true
|
|
|
|
integer_battery_capacity = true
|
|
|
|
path = "/sys/class/power_supply/BAT%d/uevent"
|
|
|
|
}
|
|
|
|
|
2022-05-27 21:07:07 +02:00
|
|
|
tztime local {
|
|
|
|
format = "%Y-%m-%d %H:%M:%S"
|
|
|
|
}
|