aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/polybar/module/cpu.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/polybar/module/cpu.nix')
-rw-r--r--modules/desktop/polybar/module/cpu.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/desktop/polybar/module/cpu.nix b/modules/desktop/polybar/module/cpu.nix
new file mode 100644
index 0000000..8134df1
--- /dev/null
+++ b/modules/desktop/polybar/module/cpu.nix
@@ -0,0 +1,9 @@
+{ config }:
+
+with config.scheme.withHashtag;
+{
+ type = "internal/cpu";
+ interval = 2;
+ format-prefix = "%{T2}%{F${base03}} %{F-}%{T-}";
+ label = "%percentage%%";
+}