From 0d381d9c273b8cc052bc3289f9e6f41a0a4aecc9 Mon Sep 17 00:00:00 2001 From: nicholai Date: Mon, 8 Sep 2025 04:26:01 -0600 Subject: [PATCH] Reduce Waybar vertical footprint: lower bar height to 18, shrink module padding/margins, remove hover font growth, set tighter line-height --- config.jsonc | 2 +- style.css | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/config.jsonc b/config.jsonc index 1f4c791..8af693b 100644 --- a/config.jsonc +++ b/config.jsonc @@ -5,7 +5,7 @@ "exclusive": true, "passthrough": false, "gtk-layer-shell": true, - "height": 20, + "height": 18, "modules-left": ["clock","custom/weather","custom/wallpaper","hyprland/window"], "modules-center": ["hyprland/workspaces"], "modules-right": ["network", "bluetooth", "temperature","custom/power_profile","battery","backlight","pulseaudio","pulseaudio#microphone","tray","idle_inhibitor"], diff --git a/style.css b/style.css index 02e3698..eb8f06f 100644 --- a/style.css +++ b/style.css @@ -8,6 +8,7 @@ font-family: "JetBrainsMono Nerd Font"; font-weight: bold; font-size: 14px; + line-height: 16px; min-height: 0; } @@ -19,7 +20,7 @@ window#waybar { #workspaces button { - padding: 5px; + padding: 2px 6px; color: @color4; margin-right: 5px; } @@ -44,7 +45,6 @@ window#waybar { background: @background; color: @color12; border-radius: 10px; - font-size: 18px; } #custom-power_profile, @@ -63,9 +63,8 @@ window#waybar { background: @background; color: @color12; opacity: 0.8; - padding: 0px 10px; - margin: 3px 0px; - margin-top: 10px; + padding: 0px 6px; + margin: 1px 0px; border: 1px solid #181825; }