diff --git a/.config/waybar/config b/.config/waybar/config index b52f704..b5a5417 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -7,7 +7,8 @@ "modules-left": [ "clock", - "cpu" + "cpu", + "memory" ], "modules-center": ["hyprland/workspaces"], @@ -46,7 +47,10 @@ "format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"], }, - + "memory": { + "interval": 1, + "format": "{used:0.1f}G/{total:0.1f}G " + }, "pulseaudio": { "format": "{icon} {volume}%", diff --git a/.config/waybar/style.css b/.config/waybar/style.css index c446dd6..b7316ea 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -23,7 +23,8 @@ /* --- Left Modules (Individual, Fully Rounded Blocks - With Horizontal Spacing & Simple Hover) --- */ #workspaces, -#cpu { +#cpu, +#memory{ background-color: @Buttons; padding: 0.3rem 0.7rem; margin: 5px 0px; /* 5px top/bottom margin, 0px left/right (base for individual control) */ @@ -35,6 +36,10 @@ transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; } +#memory { + margin: 5px 10px; +} + #workspaces { padding: 0px; border-radius: 10px; @@ -42,7 +47,7 @@ /* Simple Hover effects for individual left modules - BRIGHTER COLOR */ -#cpu:hover { +#cpu:hover, #memory:hover { background-color: @Buttonshover; /* Brighter highlight */ } @@ -94,7 +99,7 @@ background-color: @Buttonshover; } -#cpu { +#cpu, #memory { color: @Text; }