use official starlink install

This commit is contained in:
Jonas H
2026-03-07 22:27:28 +01:00
parent 5396c96fbe
commit 4542b5f48a

View File

@@ -30,8 +30,6 @@ case "$DISTRO" in
# EndeavourOS is Arch-based, use pacman
PACMAN_PACKAGES=(
stow
# prompt
starship
# sway ecosystem
swayidle
# bar & notifications
@@ -61,8 +59,6 @@ case "$DISTRO" in
fedora)
DNF_PACKAGES=(
stow
# prompt
starship
# sway ecosystem
swayidle
# bar & notifications
@@ -92,8 +88,6 @@ case "$DISTRO" in
arch)
PACMAN_PACKAGES=(
stow
# prompt
starship
# sway ecosystem
swayidle
# bar & notifications
@@ -128,13 +122,13 @@ case "$DISTRO" in
esac
# ---------------------------------------------------------------------------
# Packages not in Fedora repos install manually if missing
# Packages not in Fedora repos - install manually if missing
# ---------------------------------------------------------------------------
warn_missing() {
local cmd="$1" msg="$2"
if ! command -v "$cmd" &>/dev/null; then
echo "WARNING: '$cmd' not found $msg"
echo "WARNING: '$cmd' not found - $msg"
fi
}
@@ -142,6 +136,19 @@ warn_missing autotiling "install via pip: pip install --user autotiling"
warn_missing eww "install from https://github.com/elkowar/eww/releases"
warn_missing wezterm "install from https://wezfurlong.org/wezterm/install/linux.html"
# ---------------------------------------------------------------------------
# Starship
# ---------------------------------------------------------------------------
if ! command -v starship &>/dev/null; then
echo ""
echo "Installing Starship..."
curl -sS https://starship.rs/install.sh | sh
else
echo ""
echo "Starship already installed, skipping."
fi
# ---------------------------------------------------------------------------
# NPM packages
# ---------------------------------------------------------------------------