From 06021421af5ab5b0c955c520c723ae7c9ef2cc03 Mon Sep 17 00:00:00 2001 From: hesam-init Date: Fri, 8 Mar 2024 20:45:17 +0330 Subject: [PATCH] feat: waybar memory module --- configs/hyprland/waybar/river/config.jsonc | 3 ++- configs/hyprland/waybar/river/style.css | 7 ++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/configs/hyprland/waybar/river/config.jsonc b/configs/hyprland/waybar/river/config.jsonc index d3081ed..059b048 100644 --- a/configs/hyprland/waybar/river/config.jsonc +++ b/configs/hyprland/waybar/river/config.jsonc @@ -6,6 +6,7 @@ "hyprland/language", "clock", "cpu", + "memory", "custom/gpu-usage", "pulseaudio#input", "pulseaudio#output" @@ -164,7 +165,7 @@ "interval": 1 }, "memory": { - "format": "{used:0.1f} / {total:0.1f} ", + "format": "{used:0.1f} / {total:0.0f} ", "interval": 5 }, "backlight": { diff --git a/configs/hyprland/waybar/river/style.css b/configs/hyprland/waybar/river/style.css index a9076ad..80c562f 100644 --- a/configs/hyprland/waybar/river/style.css +++ b/configs/hyprland/waybar/river/style.css @@ -152,12 +152,9 @@ window>box { #wireplumber, #pulseaudio, #cpu, -#custom-gpu-usage { - min-width: 65px; -} - +#custom-gpu-usage, #memory { - min-width: 85px; + min-width: 65px; } #wireplumber.muted {