From 6acc04ff690a1ecb707cc5ce5a413b13d9815b28 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Fri, 5 Jan 2024 18:32:58 +0800 Subject: [PATCH] home: add i3status-rust --- .../applications/i3status-rust/default.nix | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/users/guanranwang/home-manager/applications/i3status-rust/default.nix b/users/guanranwang/home-manager/applications/i3status-rust/default.nix index ffe39a0..313cab7 100644 --- a/users/guanranwang/home-manager/applications/i3status-rust/default.nix +++ b/users/guanranwang/home-manager/applications/i3status-rust/default.nix @@ -1,3 +1,25 @@ _: { - programs.i3status-rust.enable = true; + programs.i3status-rust = { + enable = true; + bars = { + default = { + icons = "material-nf"; + blocks = [ + ### Monitor + { + block = "disk_space"; + path = "/nix"; + } + {block = "memory";} + {block = "cpu";} + {block = "load";} + + ### Stuff that I actually need + {block = "sound";} + #{block = "battery";} # i cant get it working + {block = "time";} + ]; + }; + }; + }; }