From f86dc40f537c8ee39182eba7d41ba4261f9c655f Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Sun, 12 Nov 2023 23:51:45 +0100 Subject: [PATCH] change waybar config --- modules/home/waybar/settings.nix | 8 ++++---- modules/home/waybar/style.nix | 11 ++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/modules/home/waybar/settings.nix b/modules/home/waybar/settings.nix index f424649..9b28da3 100644 --- a/modules/home/waybar/settings.nix +++ b/modules/home/waybar/settings.nix @@ -84,8 +84,8 @@ on-scroll-down = "playerctl volume .05-"; }; memory= { - format= " {}%"; - format-alt= " {used} GiB"; + format= " {}%"; + format-alt= " {used} GiB"; interval= 5; }; cpu= { @@ -106,9 +106,9 @@ }; pulseaudio= { format= "{icon} {volume}%"; - format-muted= "󰖁"; + format-muted= "󰖁 "; format-icons= { - default= [""]; + default= [" "]; }; scroll-step= 5; on-click= "pamixer -t"; diff --git a/modules/home/waybar/style.nix b/modules/home/waybar/style.nix index 2ca414d..06b03f3 100644 --- a/modules/home/waybar/style.nix +++ b/modules/home/waybar/style.nix @@ -20,6 +20,7 @@ font-weight: bold; font-size: 14px; min-height: 0; + opacity: ${opacity}; } window#waybar { @@ -59,7 +60,7 @@ background-size: 200% 200%; } - #tray, #pulseaudio, #network, cpu, memory, + #tray, #pulseaudio, #network, #cpu, #memory, #custom-playerctl.backward, #custom-playerctl.play, #custom-playerctl.foward{ background: #${custom.palette.tertiary_background_hex}; font-weight: bold; @@ -70,13 +71,13 @@ color: #${custom.tertiary_accent}; border-radius: 10px 0px 0px 24px; padding-left: 15px; - padding-right: 8px; + padding-right: 9px; margin-left: 7px; } #memory { color: #${custom.tertiary_accent}; border-radius: 0px 24px 10px 0px; - padding-left: 8px; + padding-left: 9px; padding-right: 15px; } @@ -91,13 +92,13 @@ color: #${custom.tertiary_accent}; border-radius: 10px 0px 0px 24px; padding-left: 15px; - padding-right: 8px; + padding-right: 9px; margin-left: 7px; } #network { color: #${custom.tertiary_accent}; border-radius: 0px 24px 10px 0px; - padding-left: 8px; + padding-left: 9px; padding-right: 15px; }