refactor i3 config

This commit is contained in:
2023-06-17 07:54:54 -04:00
parent f38298c90f
commit 9b426e7908
8 changed files with 336 additions and 274 deletions
+40 -22
View File
@@ -1,56 +1,74 @@
# 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
colors = true
color_good = "#A3BE8C"
color_degraded = "#ebcb8b"
color_bad = "#b48ead"
markup = pango
interval = 5
interval = 5
}
#order += "ipv6"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery all"
order += "disk /"
#order += "disk /"
order += "cpu_usage"
order += "load"
order += "memory"
order += "volume master"
order += "tztime local"
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_down = ""
format_up = "W: (%quality at %essid) %ip"
format_down = ""
}
ethernet _first_ {
format_up = "E: %ip (%speed)"
format_down = ""
format_up = "E: %ip (%speed)"
format_down = ""
}
battery all {
format = "%status %percentage %remaining"
format = "%status %percentage %remaining %emptytime"
format_down = ""
status_chr = "⚡ CHR"
status_bat = "🔋 BAT"
status_unk = "? UNK"
status_full = "☻ FULL"
path = "/sys/class/power_supply/BAT%d/uevent"
low_threshold = 10
integer_battery_capacity = true
}
disk "/" {
format = "%avail"
format = "%avail"
}
cpu_usage {
format = "CPU: %usage"
format_above_threshold = "High CPU: %usage"
max_threshold = 75
}
load {
format = "LOAD: %1min"
format = "LOAD: %1min"
}
memory {
format = "MEM: %used | %available"
threshold_degraded = "1G"
format_degraded = "MEMORY < %available"
format = "MEM: %used/%free (%available)"
threshold_degraded = "10%"
threshold_critical = "5%"
format_degraded = "Low Memory < %free"
}
volume master {
format = "♪: %volume"
format_muted = "♪: muted (%volume)"
device = "default"
mixer = "Master"
}
tztime local {
format = "%Y-%m-%d %H:%M "
format = "%Y-%m-%d %H:%M "
}