From 329f845773e8add814cb222b34b39292b4cbbf83 Mon Sep 17 00:00:00 2001 From: BluishHumility Date: Sat, 21 Sep 2024 22:53:33 -0400 Subject: [PATCH] style(waybar): code cleanup --- .config/waybar/config | 6 ++---- .config/waybar/style.css | 15 ++++++--------- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/.config/waybar/config b/.config/waybar/config index 439fcd3..3402839 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -23,7 +23,6 @@ "sway/workspaces": { "disable-scroll": true, - "disable-markup" : false, "all-outputs": true, "format": "{icon}", "format-icons": { @@ -34,7 +33,7 @@ "7": "7", "8": "8", "9": "9", - "10": "10", + "10": "10" } }, @@ -67,7 +66,7 @@ }, // Configuration - modules-right - + "modules-right": [ "custom/keyboard-layout", "idle_inhibitor", @@ -155,7 +154,6 @@ }, "clock": { - "interval": 10, "format": "󰅐 {:%H:%M}", "format-alt": "󰅐 {:%OI:%M %p}", "tooltip-format": " {:%A %m/%d}\n\n{calendar}", diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 408a784..679b896 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -60,13 +60,13 @@ /* Every modules */ #mode, #network, -#idle_inhibitor, -#memory, -#cpu, -#pulseaudio, #custom-keyboard-layout, -#battery, +#idle_inhibitor, +#cpu, +#memory, #backlight, +#pulseaudio, +#battery, #clock, #tray { padding:0.5rem 0.6rem; @@ -74,7 +74,7 @@ } /* ----------------------------------------------------------------------------- - * Modules styles + * Module styles * -------------------------------------------------------------------------- */ #custom-launcher { @@ -146,12 +146,9 @@ } #backlight.icon { - padding-right:1px; - font-size: 13px; } #pulseaudio { - padding-top:6px; } #pulseaudio.muted {