Update i3status-rs configs

This commit is contained in:
finga 2023-04-19 16:09:56 +02:00
parent 5eb19a39ea
commit e68f01d1a7
2 changed files with 77 additions and 58 deletions

View file

@ -1,5 +1,5 @@
[icons] [icons]
icons = "awesome" icons = "awesome4"
[theme] [theme]
theme = "solarized-dark" theme = "solarized-dark"
@ -12,89 +12,113 @@ separator_fg = "#00cc00"
separator_bg = "#222222" separator_bg = "#222222"
[[block]] [[block]]
block = "maildir" block = "uptime"
interval = 15
inboxes = ["/home/finga/mail/onders.org/Inbox", "/home/finga/mail/chaostreff.at/Inbox"]
display_type = "new"
[[block]] [[block]]
block = "weather" block = "weather"
format = "$weather $temp, $humidity, $wind m/s $direction" format = " $icon $weather $temp, $humidity, $wind m/s $direction "
service = { name = "openweathermap", api_key = "8271cc3c23dbae82eda2123c55c050be", city_id = "2766824", units = "metric" } service = { name = "openweathermap", api_key = "8271cc3c23dbae82eda2123c55c050be", city_id = "2766824", units = "metric" }
[[block]] [[block]]
block = "sound" block = "sound"
driver = "pulseaudio"
[[block]] [[block]]
block = "music" block = "net"
format = "$combo.rot-str(30) $play" device = "br0"
player = "mpd" format = " $icon $ip $graph_down $speed_down^icon_net_down $graph_up $speed_up^icon_net_up "
[[block]] [[block]]
block = "net" block = "net"
device = "enp0s31f6" device = "enp0s31f6"
format = "$ip $graph_down $speed_down $graph_up $speed_up" format = " $icon $ip $graph_down $speed_down $graph_up $speed_up "
# [[block]] [[block]]
# block = "disk_space" block = "net"
# path = "/" device = "tn0"
# info_type = "used" format = " $icon $ip $speed_down^icon_net_down $speed_up^icon_net_up "
# format = "{path} {percentage}"
# [[block]] [[block]]
# block = "disk_space" block = "net"
# path = "/home" format = " $icon {$signal_strength $ssid $frequency| x} via $device "
# info_type = "used"
# format = "{path} {percentage}"
# [[block]] [[block]]
# block = "disk_space" block = "disk_space"
# path = "/var" path = "/"
# info_type = "used" warning = 80.0
# warning = 20.0 alert = 90.0
# format = "{path} {percentage}" info_type = "used"
format = " $icon $path $percentage "
# [[block]] [[block]]
# block = "disk_space" block = "disk_space"
# path = "/tmp" path = "/home"
# info_type = "used" warning = 75.0
# format = "{path} {percentage}" alert = 80.0
info_type = "used"
format = " $icon $path $percentage "
[[block]]
block = "disk_space"
path = "/tmp"
warning = 75.0
alert = 80.0
info_type = "used"
format = " $icon $path $percentage "
[[block]]
block = "disk_space"
path = "/var"
warning = 80.0
alert = 90.0
info_type = "used"
format = " $icon $path $percentage "
[[block]]
block = "disk_space"
path = "/var/lib/machines"
warning = 80.0
alert = 90.0
info_type = "used"
format = " $icon $path $percentage "
[[block]]
block = "disk_space"
path = "/var/lib/libvirt/images"
warning = 80.0
alert = 90.0
info_type = "used"
format = " $icon $path $percentage "
[[block]] [[block]]
block = "memory" block = "memory"
display_type = "memory" format = " $icon $mem_used_percents.eng(w:3) "
format_mem = "$mem_total_used_percents.eng(3)"
clickable = false
[[block]] [[block]]
block = "memory" block = "memory"
display_type = "swap" format = " $icon_swap $swap_used_percents.eng(w:3) "
format_swap = "$swap_used_percents.eng(3)"
clickable = false
[[block]] [[block]]
block = "cpu" block = "cpu"
interval = 1 interval = 1
format = "$barchart $utilization $frequency.eng(4)" format = " $icon $barchart $utilization $frequency.eng(w:4) "
[[block]] [[block]]
block = "temperature" block = "temperature"
collapsed = false format = " $icon $min min, $max max, $average avg "
format = "$min min, $max max, $average avg"
chip = "*-isa-*"
[[block]] [[block]]
block = "load" block = "load"
format = "$1m.eng(4) $5m.eng(4) $15m.eng(4)" format = " $icon $1m.eng(w:4) $5m.eng(w:4) $15m.eng(w:4) "
[[block]] [[block]]
block = "time" block = "time"
interval = 1 interval = 1
format = "%F (%Z) %T" format = " $icon $timestamp.datetime(f:'%F (%Z) %T') "
timezone = "Europe/Vienna" timezone = "Europe/Vienna"
[[block]] [[block]]
block = "time" block = "time"
interval = 1 interval = 1
format = "(%Z) %T" format = " $icon $timestamp.datetime(f:'(%Z) %T') "
timezone = "Etc/UTC" timezone = "Etc/UTC"

View file

@ -1,5 +1,5 @@
[icons] [icons]
icons = "awesome" icons = "awesome4"
[theme] [theme]
theme = "solarized-dark" theme = "solarized-dark"
@ -13,45 +13,40 @@ separator_bg = "#222222"
[[block]] [[block]]
block = "sound" block = "sound"
driver = "pulseaudio"
[[block]] [[block]]
block = "uptime" block = "uptime"
[[block]] [[block]]
block = "memory" block = "memory"
display_type = "memory" format = " $icon $mem_used_percents.eng(w:3) "
format_mem = "$mem_total_used_percents.eng(3)"
clickable = false
[[block]] [[block]]
block = "memory" block = "memory"
display_type = "swap" format = " $icon_swap $swap_used_percents.eng(w:3) "
format_swap = "$swap_used_percents.eng(3)"
clickable = false
[[block]] [[block]]
block = "cpu" block = "cpu"
interval = 1 interval = 1
format = "$barchart $utilization" format = " $icon $barchart $utilization $frequency.eng(w:4) "
[[block]] [[block]]
block = "temperature" block = "temperature"
collapsed = false format = " $icon $min min, $max max, $average avg "
format = "$min min, $max max, $average avg"
chip = "*-isa-*"
[[block]] [[block]]
block = "load" block = "load"
format = "$1m.eng(4) $5m.eng(4) $15m.eng(4)" format = " $icon $1m.eng(w:4) $5m.eng(w:4) $15m.eng(w:4) "
[[block]] [[block]]
block = "time" block = "time"
interval = 1 interval = 1
format = "%Y-%m-%d %a (%Z) %H:%M:%S" format = " $icon $timestamp.datetime(f:'%F (%Z) %T') "
timezone = "Europe/Vienna" timezone = "Europe/Vienna"
[[block]] [[block]]
block = "time" block = "time"
interval = 1 interval = 1
format = "(%Z) %H:%M:%S" format = " $icon $timestamp.datetime(f:'(%Z) %T') "
timezone = "Etc/UTC" timezone = "Etc/UTC"