Updated i3status-rs config to new syntax

This commit is contained in:
vib 2023-07-31 10:14:14 +03:00
parent 013218173a
commit d23a9beb0f

View file

@ -1,28 +1,52 @@
theme = "slick" icons_format = "{icon}"
icons = "awesome"
[[block]] [theme]
block = "focused_window" theme = "slick"
max_width = 50 [theme.overrides]
show_marks = "visible" #idle_bg = "#123456"
#idle_fg = "#abcdef"
[icons]
icons = "awesome4"
[[block]] [[block]]
block = "cpu" block = "cpu"
interval = 1
#[[block]]
#block = "disk_space"
#path = "/"
#info_type = "available"
#alert_unit = "GB"
#interval = 20
#warning = 20.0
#alert = 10.0
#format = " $icon root: $available.eng(w:2) "
[[block]] [[block]]
block = "memory" block = "memory"
format_mem = "{mem_used_percents}({mem_used})" format = " $icon $mem_total_used_percents.eng(w:2) "
display_type = "memory" format_alt = " $icon_swap $swap_used_percents.eng(w:2) "
[[block]] [[block]]
block = "sound" block = "sound"
on_click="pavucontrol-qt" [[block.click]]
button = "left"
cmd = "pavucontrol-qt"
[[block]]
block = "battery"
format = "$icon $percentage ($time)"
[[block]]
block = "net"
[[block.click]]
button = "left"
cmd = "$TERMINAL nmtui connect"
[[block.click]]
button = "right"
cmd = "$TERMINAL nmtui"
[[block]] [[block]]
block = "time" block = "time"
interval = 5 interval = 5
format = "%a %d/%m %R" format = " $timestamp.datetime(f:'%a %d/%m %R') "
[block.icons_overrides]
time = ""