/ upd i3status

more clear info
This commit is contained in:
committer@tuxwarrior
2025-05-06 13:42:20 -05:00
parent 8ef8e51a7b
commit a345bc8b13

View File

@@ -42,52 +42,58 @@ load {
} }
memory { memory {
format = " ☰ %available (%percentage_available) " format = " ☰ free: %available (%percentage_available) "
threshold_degraded = "5G" threshold_degraded = "5G"
format_degraded = "MEMORY %available" format_degraded = "WARNING: ONLY %available FREE MEMORY"
} }
disk "/" { disk "/" {
format = " / ⛁ %avail " format = " / ⛁ free: %avail (%percentage_available) "
low_threshold = 10 low_threshold = 10
threshold_type = "percentage_avail" threshold_type = "percentage_avail"
format_below_threshold = "WARNING: / ⛁ %avail (%percentage_avail%) " format_below_threshold = "WARNING: / ⛁ %avail (%percentage_avail%) "
} }
disk "/media/drive2" { disk "/mnt/nas" {
format = " drive2 ⛁ %avail (%percentage_avail) " format = " nas ⛁ free: %avail (%percentage_avail) "
low_threshold = 5 low_threshold = 5
threshold_type = "percentage_avail" threshold_type = "percentage_avail"
# format_below_threshold = "WARNING: ⛁ drive2 %avail (%percentage_avail) " # format_below_threshold = "WARNING: ⛁ drive2 %avail (%percentage_avail) "
} }
disk "/media/drive3" { #disk "/media/drive2" {
format = " drive3 ⛁ %avail (%percentage_avail) " # format = " drive2 ⛁ %avail (%percentage_avail) "
low_threshold = 5 # low_threshold = 5
threshold_type = "percentage_avail" # threshold_type = "percentage_avail"
} ## format_below_threshold = "WARNING: ⛁ drive2 %avail (%percentage_avail) "
#}
#
#disk "/media/drive3" {
# format = " drive3 ⛁ %avail (%percentage_avail) "
# low_threshold = 5
# threshold_type = "percentage_avail"
#}
path_exists "vpn" { path_exists "vpn" {
#format = " %title: %status " #format = " %title: %status "
format = " %title " format = " %title "
#path = "/proc/sys/net/ipv4/conf/tun0" #path = "/proc/sys/net/ipv4/conf/tun0"
path = "/proc/sys/net/ipv4/conf/proton0" path = "/proc/sys/net/ipv4/conf/proton0"
format_down = " no vpn " format_down = " vpn "
} }
wireless _first_ { wireless _first_ {
format_up = " W: (%quality at %essid @ %bitrate) %ip " format_up = " W: (%quality at %essid @ %bitrate) %ip "
format_down = " " format_down = " 📻↓ "
} }
ethernet _first_ { ethernet _first_ {
format_up = " %ip %speed " format_up = " %ip %speed "
format_down = " ⟴ " format_down = " ⟴ "
} }
battery all { battery all {
format = "%status %percentage %remaining %emptytime" format = "%status %percentage %remaining %emptytime "
#format = " %status %percentage"
format_down = "No battery" format_down = "No battery"
last_full_capacity = true last_full_capacity = true
integer_battery_capacity = true integer_battery_capacity = true
@@ -100,7 +106,7 @@ battery all {
} }
time { time {
format = "%Y.%m.%d @ %H:%M" format = " %Y.%m.%d @ %H:%M "
} }
volume master { volume master {
@@ -114,5 +120,5 @@ volume master {
path_exists "screensaver" { path_exists "screensaver" {
format = " <span foreground='#2aff00'>screensaver disabled</span> " format = " <span foreground='#2aff00'>screensaver disabled</span> "
path = "/tmp/screensaver_off.tmp" path = "/tmp/screensaver_off.tmp"
format_down = " <span foreground='#fd68d5'>⎚</span> " format_down = " <span foreground='#fd68d5'>⎚</span> "
} }