21 lines
1.1 KiB
Bash
Executable File
21 lines
1.1 KiB
Bash
Executable File
#!/bin/sh
|
|
# Full Spotify GUI client (docs/project-plan.md Phase 16). Installed to
|
|
# /usr/local/bin/spotify-launch.
|
|
#
|
|
# Deliberately NOT spotifyd/librespot — those are the thin client's and audio-endpoint's
|
|
# headless Spotify Connect *receivers*, with no GUI at all. This device is touched
|
|
# directly, so it runs the real, official Spotify Linux client: its own library
|
|
# browser, search, and playlists. Spotify ships no apt package for bookworm, so this
|
|
# comes from Flathub (0300-flatpak.hook.chroot installs it) — same distribution
|
|
# channel already used for the thin client's Steam Link, and the only maintained one
|
|
# for Spotify on Linux.
|
|
#
|
|
# Login is interactive, on-device, on first launch (Spotify account/Premium required
|
|
# for playback — Premium is also what the thin client's headless receivers need). The
|
|
# Flatpak's own persistent data dir (~/.var/app/com.spotify.Client) keeps that session
|
|
# across restarts; nothing here wipes or reseeds it the way the kiosk Firefox profiles
|
|
# are re-copied on every launch, since staying logged in is the whole point here.
|
|
set -eu
|
|
|
|
exec flatpak run com.spotify.Client "$@"
|