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"
icons = "awesome5"
[[block]]
block = "pomodoro"
length = 25
break_length = 5
message = "Take a break!"
break_message = "Back to work!"
notifier = "notifysend"
[icons]
icons = "awesome5"
[[block]]
block = "time"
interval = 60
format = "%a %d/%m %R"
[[block]]
block = "sound"
driver = "pulseaudio"
on_click = "pavucontrol"
step_width = 5
show_volume_when_muted = true
[block.format]
full = " $icon %a %d/%m %R"
[block.theme_overrides]
idle_fg = "#66D9EF"
idle_bg = "#000000"
[[block]]
block = "cpu"
interval = 5
format = "{barchart} {utilization} {frequency} {boost}"
format = " $icon $barchart $utilization $frequency $boost "
[[block]]
block = "memory"
format_mem = "{mem_used} /{mem_total}({mem_used_percents})"
format_mem = " $icon $mem_used/$mem_total ($mem_used_percents) "
display_type = "memory"
icons = true
clickable = false
interval = 5
warning_mem = 80
critical_mem = 95
interval = 5
[block.theme_overrides]
idle_fg = "#FD9720"
idle_bg = "#000000"
[[block]]
block = "load"
format = "1min avg: {1m}"
format = " $icon I:$1m W:$5m C:$15m "
interval = 5
[[block]]
@ -48,31 +40,31 @@ block = "backlight"
[[block]]
block = "battery"
interval = 10
format = "{percentage}% {time}"
format = " $icon $percentage% $time "
[[block]]
block = "speedtest"
interval = 600
block = "net"
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 = "networkmanager"
on_click = "foot -e nmtui"
interface_name_exclude = ["br\\-[0-9a-f]{12}", "docker\\d+"]
interface_name_include = []
block = "sound"
driver = "pulseaudio"
step_width = 5
show_volume_when_muted = true
[[block.click]]
button = "left"
cmd = "pavucontrol"
[block.theme_overrides]
idle_fg = "#66D9EF"
[[block]]
block = "music"
player = "mpd"
buttons = ["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}"
format = "$icon {$combo.str(0,60) $play $next |}"