Updated i3status-rs config to new syntax

This commit is contained in:
Cheri 2023-07-31 10:14:14 +03:00 committed by vib
parent 6d3860be50
commit 87e88225ce

View file

@ -1,28 +1,52 @@
theme = "slick"
icons = "awesome"
icons_format = "{icon}"
[[block]]
block = "focused_window"
max_width = 50
show_marks = "visible"
[theme]
theme = "slick"
[theme.overrides]
#idle_bg = "#123456"
#idle_fg = "#abcdef"
[icons]
icons = "awesome4"
[[block]]
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 = "memory"
format_mem = "{mem_used_percents}({mem_used})"
display_type = "memory"
format = " $icon $mem_total_used_percents.eng(w:2) "
format_alt = " $icon_swap $swap_used_percents.eng(w:2) "
[[block]]
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 = "time"
interval = 5
format = "%a %d/%m %R"
[block.icons_overrides]
time = ""
format = " $timestamp.datetime(f:'%a %d/%m %R') "