diff --git a/config/waybar/style.css b/config/waybar/style.css index cc80246..ec50e6f 100644 --- a/config/waybar/style.css +++ b/config/waybar/style.css @@ -2,7 +2,7 @@ border: none; border-radius: 0; min-height: 0; - font-family: CaskaydiaMono Nerd Font; + font-family: CaskaydiaMono Nerd Font Propo; font-size: 12px; } @@ -16,8 +16,11 @@ margin-right: 3px; } +#custom-expand { + margin-right: 0px; +} + #custom-dropbox, -#custom-expand, #tray, #cpu, #battery, diff --git a/migrations/1752187060.sh b/migrations/1752187060.sh new file mode 100644 index 0000000..67184c8 --- /dev/null +++ b/migrations/1752187060.sh @@ -0,0 +1,11 @@ +echo "Add missing Propo version of Caskaydia Mono Nerd Font for Waybar use" + +if ! fc-list | grep -qi "CaskaydiaMono Nerd Font Propo"; then + cd /tmp + wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/CascadiaMono.zip + unzip CascadiaMono.zip -d CascadiaFont + cp CascadiaFont/CaskaydiaMonoNerdFontPropo-Regular.ttf ~/.local/share/fonts + rm -rf CascadiaMono.zip CascadiaFont + fc-cache + cd - +fi