i3: fix i3status-rust config file

This commit is contained in:
Julian Mutter 2023-04-14 14:22:31 +02:00
parent fcdcd439ac
commit b9ea4521d1

View File

@ -1,22 +1,22 @@
theme = "dracula" # "solarized-dark"
icons = "awesome"
[theme]
theme = "dracula"
[icons]
icons = "awesome4"
[[block]]
block = "disk_space"
path = "~"
alias = "/"
format = "{icon} {available} ({percentage}) frei"
format = " $icon $available ($percentage) frei "
info_type = "available"
unit = "GB"
alert_unit = "GB"
interval = 20
warning = 20.0
alert = 10.0
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{mem_used_percents}"
format_swap = "swp: {swap_used_percents}"
format = " $icon $mem_used_percents "
[[block]]
block = "cpu"
@ -25,20 +25,22 @@ interval = 1
[[block]]
block = "net"
# device = "enp1s0"
format = "{speed_down;K*b} {speed_up;K*b}"
#format = " $icon $speed_down;K*b $speed_up;K*b"
interval = 5
[[block]]
block = "sound"
on_click = "~/.config/i3/scripts/pulse_popup"
[[block.click]]
button = "left"
cmd = "~/.config/i3/scripts/pulse_popup"
[[block]]
block = "battery"
interval = 10
format = "{percentage} ({time})"
format = " $icon $percentage ($time) "
if_command = "test -e /sys/class/power_supply/BAT1"
[[block]]
block = "time"
interval = 1
format = "%a %d.%m %H:%M:%S"
format = " $icon $timestamp.datetime(f:'%a %d.%m %H:%M:%S') "