From d0d7e87d0eef4987270d696df837d01dfe32cd4a Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Wed, 20 Sep 2023 21:48:00 +0200 Subject: [PATCH] pinwheel: Tweak icon sizes in `waybar` --- hosts/pinwheel/modules/waybar/default.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/hosts/pinwheel/modules/waybar/default.nix b/hosts/pinwheel/modules/waybar/default.nix index 9885044..6620871 100644 --- a/hosts/pinwheel/modules/waybar/default.nix +++ b/hosts/pinwheel/modules/waybar/default.nix @@ -24,12 +24,12 @@ let notifications-status = pkgs.writeShellScript "notifications-status" '' if ${pkgs.dunst}/bin/dunstctl is-paused | grep -q "false"; then - echo 󰂚; + echo "" else - DISABLED=󰂛 + DISABLED= COUNT=$(${pkgs.dunst}/bin/dunstctl count waiting) - [ $COUNT != 0 ] && DISABLED="󰂛 $COUNT" - echo $DISABLED + [ $COUNT != 0 ] && DISABLED=" $COUNT" + echo "$DISABLED" fi ''; @@ -80,8 +80,8 @@ in }; wireplumber = { - format = " {volume}%"; - format-muted = " {volume}%"; + format = " {volume}%"; + format-muted = " {volume}%"; on-click = "${pkgs.pavucontrol}/bin/pavucontrol"; on-click-right = "${pkgs.wireplumber}/bin/wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; max-volume = 150; @@ -90,14 +90,14 @@ in network = { interface = "wlp0s20f3"; - format-wifi = "󰖩"; - format-disconnected = "󱚵"; + format-wifi = "󰖩"; + format-disconnected = "󱚵"; tooltip-format-wifi = "{essid} ({signalStrength}%)"; }; battery = { "interval" = 60; - "format" = "{icon} {capacity}%"; + "format" = "{icon} {capacity}%"; "format-time" = "{H}h {M}min"; "format-charging" ="󰂄 {capacity}%"; "format-icons" = ["󰁺" "󰁻" "󰁽" "󰁿" "󰂁" "󰁹" ]; @@ -136,7 +136,7 @@ in '' * { font-family: 'DejaVuSansM Nerd Font Mono'; - font-size: 20px; + font-size: 22px; } #workspaces button {