From ce3967e1541388a76aa1b41eb7895e63dc42f7e8 Mon Sep 17 00:00:00 2001 From: Andrea Date: Tue, 22 Jul 2025 08:39:29 +0200 Subject: [PATCH] chore(waybar): add cpu module --- .config/waybar/config.jsonc | 6 +++++- .config/waybar/style.css | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index fe58a56..d395c59 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -17,7 +17,7 @@ ], "group/system": { "orientation": "inherit", - "modules": ["memory", "disk"] + "modules": ["memory", "disk", "cpu"] }, "group/misc": { "orientation": "inherit", @@ -190,6 +190,10 @@ "unit": "GiB", "path": "/" }, + "cpu": { + "interval": 1, + "format": "{}% " + }, "memory": { "interval": 3, "tooltip": true, diff --git a/.config/waybar/style.css b/.config/waybar/style.css index f64237b..ce2c982 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -128,6 +128,7 @@ tooltip label { #pulseaudio:not(.microphone), #pulseaudio.microphone, #memory, +#disk, #backlight, #bluetooth { padding-right: 8px;