diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2024-01-12 12:53:58 -0700 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2024-01-12 12:53:58 -0700 |
| commit | 0b552aa92460acd5dd5357b5101f7d97a4840198 (patch) | |
| tree | 596b551a7f28ab54bfd59a8bcb352bfb63fdd3a1 /modules/home-manager | |
| parent | 21012fb0f0c6bb90c1be206c10a7e171516f7272 (diff) | |
add cpu monitor to waybar
Diffstat (limited to 'modules/home-manager')
| -rw-r--r-- | modules/home-manager/waybar.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/home-manager/waybar.nix b/modules/home-manager/waybar.nix index c94deef..83161ce 100644 --- a/modules/home-manager/waybar.nix +++ b/modules/home-manager/waybar.nix @@ -10,7 +10,7 @@ height = 40; modules-left = [ "hyprland/workspaces" ]; modules-center = [ "clock" ]; - modules-right = [ "pulseaudio" "bluetooth" "network" "backlight/slider" "battery" "temperature" "memory" "keyboard_state" "tray" ]; + modules-right = [ "pulseaudio" "bluetooth" "network" "backlight/slider" "battery" "cpu" "temperature" "memory" "keyboard_state" "tray" ]; "tray" = { icon-size = 21; @@ -101,6 +101,10 @@ format-icons = [ "" "" "" "" "" ]; max-length = 25; }; + cpu = { + format = "{usage}% "; + tooltip = false; + }; "memory" = { format = "{used:0.1f}G/{total:0.1f}G "; }; |
