update config to i3status-rs version 3.0

This commit is contained in:
Simon Rieger 2023-03-07 13:20:17 +01:00
parent 3514e933c6
commit 9c04c1e926
2 changed files with 91 additions and 38 deletions

View file

@ -0,0 +1,71 @@
[theme]
name = "slick"
[theme.overrides]
idle_bg = "#2f343f"
idle_fg = "#f3f4f5"
[icons]
name = "awesome"
#[icons.overrides]
#bat = " | | "
#bat_full = " |X| "
#bat_charging = " |^| "
#bat_discharging = " |v| "
[[block]]
block = "networkmanager"
on_click = "wezterm start nmtui"
interface_name_exclude = ["br\\-[0-9a-f]{12}", "docker\\d+"]
interface_name_include = []
device_format = "{icon} {ap} {ips}"
ap_format = "{ssid} {strength}"
#[[block]]
#block = "net"
#on_click = "wezterm start nmtui"
#device = "wlan0"
#format = " {ssid} {signal_strength} {ip} {speed_down;K*b} {graph_down:8;M*_b#50}"
#interval = 1
[[block]]
block = "disk_space"
path = "/"
alias = "/"
info_type = "available"
unit = "GB"
interval = 20
warning = 20.0
alert = 10.0
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{mem_used_percents}"
format_swap = "{swap_used_percents}"
[[block]]
block = "cpu"
interval = 1
format = "{barchart} {utilization} {frequency}"
[[block]]
block = "load"
interval = 1
format = "{1m}"
[[block]]
block = "sound"
on_click = "pavucontrol-qt"
[[block]]
block = "time"
interval = 1
format = "%a %Y-%m-%d %H:%M:%S"
[[block]]
block = "uptime"
[[block]]
block = "battery"
interval = 10
format = "{percentage} {time}"

View file

@ -1,11 +1,13 @@
icons_format = "{icon}"
[theme] [theme]
name = "slick" theme = "slick"
[theme.overrides] [theme.overrides]
idle_bg = "#2f343f" idle_bg = "#2f343f"
idle_fg = "#f3f4f5" idle_fg = "#f3f4f5"
[icons] [icons]
name = "awesome" icons = "awesome4"
#[icons.overrides] #[icons.overrides]
#bat = " | | " #bat = " | | "
#bat_full = " |X| " #bat_full = " |X| "
@ -13,59 +15,39 @@ name = "awesome"
#bat_discharging = " |v| " #bat_discharging = " |v| "
[[block]] [[block]]
block = "networkmanager" block = "cpu"
on_click = "wezterm start nmtui" interval = 1
interface_name_exclude = ["br\\-[0-9a-f]{12}", "docker\\d+"] format = " $icon $barchart $utilization "
interface_name_include = [] format_alt = " $icon $frequency{ $boost|} "
device_format = "{icon} {ap} {ips}"
ap_format = "{ssid} {strength}"
#[[block]]
#block = "net"
#on_click = "wezterm start nmtui"
#device = "wlan0"
#format = " {ssid} {signal_strength} {ip} {speed_down;K*b} {graph_down:8;M*_b#50}"
#interval = 1
[[block]] [[block]]
block = "disk_space" block = "disk_space"
path = "/" path = "/"
alias = "/"
info_type = "available" info_type = "available"
unit = "GB" alert_unit = "GB"
interval = 20 interval = 20
warning = 20.0 warning = 20.0
alert = 10.0 alert = 10.0
format = " $icon root: $available.eng(w:2) "
[[block]] [[block]]
block = "memory" block = "memory"
display_type = "memory" format = " $icon $mem_total_used_percents.eng(w:2) "
format_mem = "{mem_used_percents}" format_alt = " $icon_swap $swap_used_percents.eng(w:2) "
format_swap = "{swap_used_percents}"
[[block]]
block = "cpu"
interval = 1
format = "{barchart} {utilization} {frequency}"
[[block]]
block = "load"
interval = 1
format = "{1m}"
[[block]] [[block]]
block = "sound" block = "sound"
on_click = "pavucontrol-qt" [[block.click]]
button = "left"
cmd = "pavucontrol-qt"
[[block]] [[block]]
block = "time" block = "time"
interval = 1 interval = 5
format = "%a %Y-%m-%d %H:%M:%S" #format = " $timestamp.datetime(f:'%a %d/%m %R') "
format = " $timestamp.datetime(f:'%a %Y-%m-%d %H:%M:%S') "
[[block]]
block = "uptime"
[[block]] [[block]]
block = "battery" block = "battery"
interval = 10 format = " $icon $percentage {$time |}"
format = "{percentage} {time}"