pinwheel: Tweak icon sizes in waybar

This commit is contained in:
Alexander Heldt
2023-09-20 21:48:00 +02:00
parent d415f69126
commit d0d7e87d0e

View File

@@ -24,12 +24,12 @@ let
notifications-status = pkgs.writeShellScript "notifications-status" '' notifications-status = pkgs.writeShellScript "notifications-status" ''
if ${pkgs.dunst}/bin/dunstctl is-paused | grep -q "false"; then if ${pkgs.dunst}/bin/dunstctl is-paused | grep -q "false"; then
echo 󰂚; echo "<span font='14'></span>"
else else
DISABLED=󰂛 DISABLED=
COUNT=$(${pkgs.dunst}/bin/dunstctl count waiting) COUNT=$(${pkgs.dunst}/bin/dunstctl count waiting)
[ $COUNT != 0 ] && DISABLED="󰂛 $COUNT" [ $COUNT != 0 ] && DISABLED=" $COUNT"
echo $DISABLED echo "<span font='14'>$DISABLED</span>"
fi fi
''; '';
@@ -80,8 +80,8 @@ in
}; };
wireplumber = { wireplumber = {
format = "<span font='14' rise='-3000'></span> {volume}%"; format = "<span font='16' rise='-3000'></span> {volume}%";
format-muted = "<span font='14' rise='-3000'></span> {volume}%"; format-muted = "<span font='16' rise='-3000'></span> {volume}%";
on-click = "${pkgs.pavucontrol}/bin/pavucontrol"; on-click = "${pkgs.pavucontrol}/bin/pavucontrol";
on-click-right = "${pkgs.wireplumber}/bin/wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; on-click-right = "${pkgs.wireplumber}/bin/wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
max-volume = 150; max-volume = 150;
@@ -90,14 +90,14 @@ in
network = { network = {
interface = "wlp0s20f3"; interface = "wlp0s20f3";
format-wifi = "<span font='14' rise='-3000'>󰖩</span>"; format-wifi = "<span font='16' rise='-3000'>󰖩</span>";
format-disconnected = "<span font='14' rise='-3000'>󱚵</span>"; format-disconnected = "<span font='16' rise='-3000'>󱚵</span>";
tooltip-format-wifi = "{essid} ({signalStrength}%)"; tooltip-format-wifi = "{essid} ({signalStrength}%)";
}; };
battery = { battery = {
"interval" = 60; "interval" = 60;
"format" = "<span font='8' rise='1000'>{icon}</span> {capacity}%"; "format" = "<span font='10' rise='1000'>{icon}</span> {capacity}%";
"format-time" = "{H}h {M}min"; "format-time" = "{H}h {M}min";
"format-charging" ="󰂄 {capacity}%"; "format-charging" ="󰂄 {capacity}%";
"format-icons" = ["󰁺" "󰁻" "󰁽" "󰁿" "󰂁" "󰁹" ]; "format-icons" = ["󰁺" "󰁻" "󰁽" "󰁿" "󰂁" "󰁹" ];
@@ -136,7 +136,7 @@ in
'' ''
* { * {
font-family: 'DejaVuSansM Nerd Font Mono'; font-family: 'DejaVuSansM Nerd Font Mono';
font-size: 20px; font-size: 22px;
} }
#workspaces button { #workspaces button {