mirror of https://gitlab.com/dabruh/dotfiles.git
97 lines
1.8 KiB
Plaintext
97 lines
1.8 KiB
Plaintext
# 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"
|
|
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 {
|
|
format = "🎵: %volume"
|
|
format_muted = "🔇: %volume"
|
|
device = "default"
|
|
mixer = "Master"
|
|
mixer_idx = 0
|
|
}
|
|
|
|
tztime local {
|
|
format = "%Y-%m-%d %H:%M:%S"
|
|
}
|