From c4ddcbaa75e49f9b7be0da65b29ee266800bf37d Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Mon, 20 Jun 2022 15:49:18 +0200 Subject: [PATCH] feat: add i3status-rust --- home-mandlm.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/home-mandlm.nix b/home-mandlm.nix index 6a71534..3ea7d3f 100644 --- a/home-mandlm.nix +++ b/home-mandlm.nix @@ -97,6 +97,39 @@ i3status-rust = { enable = true; + bars = { + default = { + theme = "solarized-dark"; + icons = "awesome"; + + blocks = [ + { + block = "memory"; + display_type = "memory"; + format_mem = "{mem_used_percents}"; + } + { + block = "cpu"; + interval = 1; + } + { + block = "load"; + interval = 1; + format = "{1m}"; + } + { + block = "battery"; + hide_missing = true; + format = "{time} ({percentage})"; + } + { + block = "time"; + interval = 60; + format = "%a %d.%m %R"; + } + ]; + }; + }; }; home-manager.enable = true;