fix(waybar): spacing

This commit is contained in:
Barrett Ruth 2026-02-14 12:21:39 -05:00
parent afc62f3bad
commit 7865c989c1
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
2 changed files with 4 additions and 33 deletions

View file

@ -163,35 +163,6 @@ in
border-radius: 0; border-radius: 0;
min-height: 0; min-height: 0;
} }
#workspaces button {
padding: 0 6px;
min-width: 24px;
}
#language {
padding: 0 8px;
}
#privacy,
#tray,
#pulseaudio,
#network,
#battery {
padding: 0 12px;
}
#clock {
padding: 0 14px 0 12px;
}
#window {
padding: 0 16px;
}
tooltip {
border-radius: 4px;
}
''; '';
}; };

View file

@ -53,11 +53,11 @@ brightness)
case "$1" in case "$1" in
up) up)
brightnessctl set "$BRIGHT_STEP"%+ brightnessctl set "$BRIGHT_STEP"%+
notify-send -u low -t 2500 -r 5555 "brightness $(brightnessctl get | awk -v max="$max_brightness" '{printf "%d%%", $1*100/max}')" notify-send -t 2500 -r 5555 "brightness $(brightnessctl get | awk -v max="$max_brightness" '{printf "%d%%", $1*100/max}')"
;; ;;
down) down)
brightnessctl set "$BRIGHT_STEP"%- brightnessctl set "$BRIGHT_STEP"%-
notify-send -u low -t 2500 -r 5555 "brightness $(brightnessctl get | awk -v max="$max_brightness" '{printf "%d%%", $1*100/max}')" notify-send -t 2500 -r 5555 "brightness $(brightnessctl get | awk -v max="$max_brightness" '{printf "%d%%", $1*100/max}')"
;; ;;
*) *)
echo "Invalid subcommand: $1" >&2 echo "Invalid subcommand: $1" >&2
@ -89,9 +89,9 @@ volume)
vol=$(get_vol) vol=$(get_vol)
if wpctl get-volume "$SINK" | grep -q MUTED; then if wpctl get-volume "$SINK" | grep -q MUTED; then
notify-send -u low -t 2500 -r 5556 "volume: ${vol}% (muted)" notify-send -t 2500 -r 5556 "volume: ${vol}% (muted)"
else else
notify-send -u low -t 2500 -r 5556 "volume: ${vol}%" notify-send -t 2500 -r 5556 "volume: ${vol}%"
fi fi
;; ;;
pull) pull)