more work on status bar

This commit is contained in:
Cyryl Płotnicki 2020-04-18 13:49:49 +01:00
parent 8c3171f0f2
commit 0a24c453d8
2 changed files with 29 additions and 35 deletions

View file

@ -6,46 +6,40 @@ name = "awesome"
memory_mem = " " memory_mem = " "
cpu = "" cpu = ""
cogs = " " cogs = " "
music = " "
[[block]]
block = "cpu"
interval = 5
format = "{barchart}"
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{Mup}%"
format_swap = "{SUp}%"
[[block]]
block = "load"
interval = 5
format = "{1m} {5m}"
[[block]]
block = "sound"
[[block]]
block = "disk_space"
path = "/"
alias = "/"
info_type = "available"
unit = "GB"
interval = 20
warning = 20.0
alert = 10.0
[[block]] [[block]]
block = "time" block = "time"
interval = 60 interval = 60
format = "%a %d.%m %R" format = "%a %d.%m %R"
[[block]]
block = "cpu"
interval = 5
format = "{barchart}"
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{Mup}%"
format_swap = "{SUp}%"
[[block]]
block = "load"
interval = 5
format = "{1m} {5m}"
[[block]]
block = "disk_space"
path = "/"
alias = ""
info_type = "available"
unit = "GiB"
interval = 20
warning = 20.0
alert = 10.0
[[block]] [[block]]
block = "temperature" block = "temperature"
collapsed = false collapsed = true
interval = 10 interval = 10
format = "{max}°" format = "{max}° max, {average}° avg"

View file

@ -32,7 +32,7 @@ in
bars = [ bars = [
{ {
position = "top"; position = "top";
fonts = [ "Iosevka" "FontAwesome 10" ]; fonts = [ "FontAwesome 10" "Iosevka 10" ];
statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs ${config.xdg.configHome}/i3/status.toml"; statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs ${config.xdg.configHome}/i3/status.toml";
} }
]; ];