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 # EndeavourOS is Arch-based, use pacman
PACMAN_PACKAGES=( PACMAN_PACKAGES=(
stow stow
# prompt
starship
# sway ecosystem # sway ecosystem
swayidle swayidle
# bar & notifications # bar & notifications
@@ -61,8 +59,6 @@ case "$DISTRO" in
fedora) fedora)
DNF_PACKAGES=( DNF_PACKAGES=(
stow stow
# prompt
starship
# sway ecosystem # sway ecosystem
swayidle swayidle
# bar & notifications # bar & notifications
@@ -92,8 +88,6 @@ case "$DISTRO" in
arch) arch)
PACMAN_PACKAGES=( PACMAN_PACKAGES=(
stow stow
# prompt
starship
# sway ecosystem # sway ecosystem
swayidle swayidle
# bar & notifications # bar & notifications
@@ -128,13 +122,13 @@ case "$DISTRO" in
esac esac
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# Packages not in Fedora repos install manually if missing # Packages not in Fedora repos - install manually if missing
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
warn_missing() { warn_missing() {
local cmd="$1" msg="$2" local cmd="$1" msg="$2"
if ! command -v "$cmd" &>/dev/null; then if ! command -v "$cmd" &>/dev/null; then
echo "WARNING: '$cmd' not found $msg" echo "WARNING: '$cmd' not found - $msg"
fi 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 eww "install from https://github.com/elkowar/eww/releases"
warn_missing wezterm "install from https://wezfurlong.org/wezterm/install/linux.html" 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 # NPM packages
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------