refactor(i3status-rs): manage with Home Manager

This commit is contained in:
Oliver Davies 2023-06-12 08:43:37 +01:00
parent a0e364269c
commit 7c8e2d3284
4 changed files with 43 additions and 35 deletions

View file

@ -1,29 +0,0 @@
[[block]]
block = "net"
format = " $ip "
[[block]]
block = "battery"
[[block]]
block = "cpu"
[[block]]
block = "memory"
format = " $icon $mem_total_used_percents.eng(w:2) "
format_alt = " $icon_swap $swap_used_percents.eng(w:2) "
[[block]]
block = "disk_space"
path = "/"
info_type = "available"
alert_unit = "GB"
interval = 20
warning = 20.0
alert = 10.0
format = " $icon $available.eng(w:2) "
[[block]]
block = "time"
interval = 60
format = " $timestamp.datetime(f:'%a %d/%m/%Y %R') "

View file

@ -232,7 +232,7 @@ bar {
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
# status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done
status_command /run/current-system/sw/bin/i3status-rs ~/.config/i3status-rs/config.toml
status_command i3status-rs ~/.config/i3status-rust/config-default.toml
colors {
statusline #ffffff