i3status-rust: Add configuration for i3status-rs

This commit is contained in:
Sanchayan Maity 2021-01-02 14:26:00 +05:30
parent 67b9bb5415
commit f0c28c8b18
1 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,63 @@
theme = "gruvbox-dark"
icons = "awesome5"
[[block]]
block = "time"
interval = 60
format = "%a %d/%m %R"
[[block]]
block = "music"
player = "mpd"
buttons = ["play", "next"]
[[block]]
block = "battery"
interval = 10
format = "{percentage}% {time}"
[[block]]
block = "cpu"
interval = 5
format = "{barchart} {utilization}% {frequency}GHz"
[[block]]
block = "memory"
format_mem = "{Mum} MB/{MTm} MB({Mup}%)"
display_type = "memory"
icons = true
clickable = true
interval = 5
warning_mem = 80
critical_mem = 95
interval = 5
[[block]]
block = "load"
format = "1min avg: {1m}"
interval = 5
[[block]]
block = "sound"
driver = "pulseaudio"
on_click = "pavucontrol"
step_width = 5
show_volume_when_muted = true
[[block]]
block = "networkmanager"
on_click = "kitty -e nmtui"
interface_name_exclude = ["br\\-[0-9a-f]{12}", "docker\\d+"]
interface_name_include = []
[[block]]
block = "backlight"
[[block]]
block = "disk_space"
path = "/"
alias = "/"
info_type = "used"
unit = "GiB"
format = "{icon}{used}/{total} {unit} ({available}{unit} free)"