All checks were successful
check / check (push) Successful in 1m44s
Nya assets/screenshots (tagna i nästlad headless-Wayfire): hero-bild, dock-närbild och settings-fönstret. Ny CLI-flagga --settings öppnar inställningsfönstret direkt vid start. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
33 lines
1.2 KiB
Bash
Executable File
33 lines
1.2 KiB
Bash
Executable File
#!/bin/sh
|
|
# En-rads-install av waydock (linux-x64):
|
|
# curl -fsSL https://gitea.brasse-pc.eu/brasse/waydock/raw/branch/master/install.sh | sh
|
|
set -eu
|
|
|
|
BASE=https://gitea.brasse-pc.eu/brasse/waydock
|
|
DEST="${HOME}/.local/bin"
|
|
ARCH=$(uname -m)
|
|
|
|
[ "$ARCH" = "x86_64" ] || { echo "waydock byggs bara för linux-x64 (du har $ARCH)"; exit 1; }
|
|
command -v gtk4-launch >/dev/null 2>&1 || \
|
|
echo "OBS: gtk4 verkar saknas — installera: sudo pacman -S gtk4 gtk4-layer-shell"
|
|
|
|
mkdir -p "$DEST"
|
|
echo "Hämtar waydock (latest)…"
|
|
curl -fSL -o "$DEST/waydock" \
|
|
"$BASE/releases/download/latest/waydock-latest-linux-x64"
|
|
chmod +x "$DEST/waydock"
|
|
|
|
# ikon + .desktop-fil
|
|
mkdir -p "$HOME/.local/share/icons/hicolor/scalable/apps" "$HOME/.local/share/applications"
|
|
curl -fsSL -o "$HOME/.local/share/icons/hicolor/scalable/apps/waydock.svg" \
|
|
"$BASE/raw/branch/master/assets/waydock.svg" || true
|
|
curl -fsSL -o "$HOME/.local/share/applications/waydock.desktop" \
|
|
"$BASE/raw/branch/master/assets/waydock.desktop" || true
|
|
|
|
echo "Installerad: $DEST/waydock"
|
|
case ":$PATH:" in
|
|
*":$DEST:"*) ;;
|
|
*) echo "OBS: $DEST ligger inte i PATH" ;;
|
|
esac
|
|
echo "Starta med: waydock (config skapas i ~/.config/waydock/config.json)"
|