diff --git a/config/.config/waybar/config b/config/.config/waybar/config index 865e312..137ace5 100644 --- a/config/.config/waybar/config +++ b/config/.config/waybar/config @@ -2,6 +2,9 @@ "position": "top", "modules-left": [ "sway/workspaces", + "cpu", + "custom/gpu-usage", + "disk", "sway/mode" ], "modules-right": [ @@ -19,6 +22,18 @@ "format": "--{}--", "tooltip": false }, + "cpu": { + "format": "CPU: {usage}%", + "interval": 1 + }, + "custom/gpu-usage": { + "exec": "cat /sys/class/hwmon/hwmon2/device/gpu_busy_percent", + "format": "GPU: {}%", + "interval": 1 + }, + "disk": { + "format": "Disk: {used}/{total}" + }, "pulseaudio": { "format": "{icon} {volume}%", "format-icons": [ diff --git a/config/.config/waybar/style.css b/config/.config/waybar/style.css index cb94d93..06a7914 100644 --- a/config/.config/waybar/style.css +++ b/config/.config/waybar/style.css @@ -34,6 +34,13 @@ window.eDP-1 * { color: @primary; } +#cpu, +#custom-gpu-usage, +#disk { + margin: 6px; + padding: 0; +} + #tray, #pulseaudio, #language,