Browse Source

Merge branch 'master' of http://git.nixlab.in/chodak166/dotfiles into trb

trb
chodylal 2 weeks ago
parent
commit
b8467a9184
  1. 16
      .dotfiles.d/init/ubuntu/init-sway.sh

16
.dotfiles.d/init/ubuntu/init-sway.sh

@ -56,18 +56,6 @@ sudo apt install -y pipewire-audio pipewire-pulse wireplumber
echo "[4/8] Installing applications referenced by keybindings/workspace assignments..." echo "[4/8] Installing applications referenced by keybindings/workspace assignments..."
# firefox/thunderbird on Ubuntu 24.04+ are snap-transitioning deb packages, # firefox/thunderbird on Ubuntu 24.04+ are snap-transitioning deb packages,
# but they still work; missing ones here must not abort the script. # but they still work; missing ones here must not abort the script.
sudo apt install -y \
firefox \
thunar \
thunderbird \
telegram-desktop \
mpv \
virt-manager \
|| true
if command -v snap >/dev/null 2>&1; then
sudo snap install spotify || true
fi
echo "[5/8] Installing Sway wallpaper (not shipped in Ubuntu's sway package)..." echo "[5/8] Installing Sway wallpaper (not shipped in Ubuntu's sway package)..."
sudo mkdir -p /usr/share/backgrounds/sway sudo mkdir -p /usr/share/backgrounds/sway
@ -83,8 +71,8 @@ if curl -fL -o /tmp/SourceSans3.zip \
else else
# Fallback: variable font from the Google Fonts repository # Fallback: variable font from the Google Fonts repository
curl -fL -o "$HOME/.local/share/fonts/SourceSans3/SourceSans3[wght].ttf" \ curl -fL -o "$HOME/.local/share/fonts/SourceSans3/SourceSans3[wght].ttf" \
"https://github.com/google/fonts/raw/main/ofl/sourcesans3/SourceSans3%5Bwght%5D.ttf" || \ "https://github.com/google/fonts/raw/main/ofl/sourcesans3/SourceSans3%5Bwght%5D.ttf" \
echo " -> WARNING: failed to download Source Sans 3; sway bar will fall back to another font" || echo " -> WARNING: failed to download Source Sans 3; sway bar will fall back to another font"
fi fi
fc-cache -f > /dev/null 2>&1 fc-cache -f > /dev/null 2>&1

Loading…
Cancel
Save