i3status-rust: Update to latest master

The configuration file format has changed and network manager block
has been dropped.

Also, we have now moved to iwd and dropped Network Manager completely
and along with it wpa_supplicant.
This commit is contained in:
Sanchayan Maity 2022-10-04 18:23:06 +05:30
parent d6c36f8f9f
commit 11d04bc1d6

View file

@ -1,45 +1,37 @@
[theme]
theme = "gruvbox-dark" theme = "gruvbox-dark"
icons = "awesome5"
[[block]] [icons]
block = "pomodoro" icons = "awesome5"
length = 25
break_length = 5
message = "Take a break!"
break_message = "Back to work!"
notifier = "notifysend"
[[block]] [[block]]
block = "time" block = "time"
interval = 60 interval = 60
format = "%a %d/%m %R" [block.format]
full = " $icon %a %d/%m %R"
[[block]] [block.theme_overrides]
block = "sound" idle_fg = "#66D9EF"
driver = "pulseaudio" idle_bg = "#000000"
on_click = "pavucontrol"
step_width = 5
show_volume_when_muted = true
[[block]] [[block]]
block = "cpu" block = "cpu"
interval = 5 interval = 5
format = "{barchart} {utilization} {frequency} {boost}" format = " $icon $barchart $utilization $frequency $boost "
[[block]] [[block]]
block = "memory" block = "memory"
format_mem = "{mem_used} /{mem_total}({mem_used_percents})" format_mem = " $icon $mem_used/$mem_total ($mem_used_percents) "
display_type = "memory" display_type = "memory"
icons = true
clickable = false
interval = 5 interval = 5
warning_mem = 80 warning_mem = 80
critical_mem = 95 critical_mem = 95
interval = 5 [block.theme_overrides]
idle_fg = "#FD9720"
idle_bg = "#000000"
[[block]] [[block]]
block = "load" block = "load"
format = "1min avg: {1m}" format = " $icon I:$1m W:$5m C:$15m "
interval = 5 interval = 5
[[block]] [[block]]
@ -48,31 +40,31 @@ block = "backlight"
[[block]] [[block]]
block = "battery" block = "battery"
interval = 10 interval = 10
format = "{percentage}% {time}" format = " $icon $percentage% $time "
[[block]] [[block]]
block = "speedtest" block = "net"
interval = 600 device = "wlp*"
format = " $icon $ssid $signal_strength ^icon_net_down $speed_down.eng(3,B,K) ^icon_net_up $speed_up.eng(3,B,K) $ip "
[[block.click]]
button = "left"
cmd = "iwgtk"
[block.theme_overrides]
idle_fg = "#A6E22D"
idle_bg = "#000000"
[[block]] [[block]]
block = "networkmanager" block = "sound"
on_click = "foot -e nmtui" driver = "pulseaudio"
interface_name_exclude = ["br\\-[0-9a-f]{12}", "docker\\d+"] step_width = 5
interface_name_include = [] show_volume_when_muted = true
[[block.click]]
button = "left"
cmd = "pavucontrol"
[block.theme_overrides]
idle_fg = "#66D9EF"
[[block]] [[block]]
block = "music" block = "music"
player = "mpd" player = "mpd"
buttons = ["play", "next"] format = "$icon {$combo.str(0,60) $play $next |}"
[[block]]
block = "bluetooth"
hide_disconnected = true
mac = "74:45:CE:BA:F1:E4"
format = "Sony {percentage}"
[[block]]
block = "bluetooth"
hide_disconnected = true
mac = "00:16:94:28:9F:C2"
format = "HD 4.40BT {percentage}"