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]
name = "slick"
theme = "slick"
[theme.overrides]
idle_bg = "#2f343f"
idle_fg = "#f3f4f5"
[icons]
name = "awesome"
icons = "awesome4"
#[icons.overrides]
#bat = " | | "
#bat_full = " |X| "
@ -13,59 +15,39 @@ name = "awesome"
#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 = "cpu"
interval = 1
format = " $icon $barchart $utilization "
format_alt = " $icon $frequency{ $boost|} "
[[block]]
block = "disk_space"
path = "/"
alias = "/"
info_type = "available"
unit = "GB"
alert_unit = "GB"
interval = 20
warning = 20.0
alert = 10.0
format = " $icon root: $available.eng(w:2) "
[[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}"
format = " $icon $mem_total_used_percents.eng(w:2) "
format_alt = " $icon_swap $swap_used_percents.eng(w:2) "
[[block]]
block = "sound"
on_click = "pavucontrol-qt"
[[block.click]]
button = "left"
cmd = "pavucontrol-qt"
[[block]]
block = "time"
interval = 1
format = "%a %Y-%m-%d %H:%M:%S"
[[block]]
block = "uptime"
interval = 5
#format = " $timestamp.datetime(f:'%a %d/%m %R') "
format = " $timestamp.datetime(f:'%a %Y-%m-%d %H:%M:%S') "
[[block]]
block = "battery"
interval = 10
format = "{percentage} {time}"
format = " $icon $percentage {$time |}"