diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-11-28 00:01:27 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-11-28 00:01:27 +0530 |
| commit | 170461002890d55718618bec64feaa8856c3a6d4 (patch) | |
| tree | 39828106660958fc9de2c8c8d1fc972c8e2320cb /modules/desktop/polybar/module/cpu.nix | |
| parent | 547bf872cbf85f4718576e1ac3a0eab094ccd26a (diff) | |
| download | home-manager-config-170461002890d55718618bec64feaa8856c3a6d4.tar.gz home-manager-config-170461002890d55718618bec64feaa8856c3a6d4.zip | |
Organised the configuration to allow for different options for different users.
Diffstat (limited to 'modules/desktop/polybar/module/cpu.nix')
| -rw-r--r-- | modules/desktop/polybar/module/cpu.nix | 9 |
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%%"; +} |
