From cbd5b66b89fba2ad23a9da7372cf916305efad1f Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Tue, 17 Sep 2024 10:12:18 +0530 Subject: Initial commit. --- polybar/modules/cpu.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 polybar/modules/cpu.nix (limited to 'polybar/modules/cpu.nix') diff --git a/polybar/modules/cpu.nix b/polybar/modules/cpu.nix new file mode 100644 index 0000000..d130d07 --- /dev/null +++ b/polybar/modules/cpu.nix @@ -0,0 +1,9 @@ +config: + +with config.lib.stylix.colors.withHashtag; +{ + type = "internal/cpu"; + interval = 2; + format-prefix = "%{F${base09}} %{F-}"; + label = "%percentage%%"; +} -- cgit v1.2.3