add spotify-player, drop need for Electron Spotify
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
478d4d00c0
commit
a7a9ac6198
2 changed files with 19 additions and 1 deletions
|
|
@ -51,6 +51,24 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# spotify-player — native librespot TUI replacing the Electron Spotify app.
|
||||
# stylix's spotify-player target writes the colour theme.
|
||||
# MPRIS (quickshell's media card), notifications and streaming are all on by
|
||||
# default on Linux, so no settings needed here.
|
||||
programs.spotify-player = lib.mkIf isDesktop {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Upstream ships no .desktop file (TUI only), so the launcher can't find it.
|
||||
xdg.desktopEntries.spotify-player = lib.mkIf isDesktop {
|
||||
name = "Spotify Player";
|
||||
genericName = "Music Player";
|
||||
exec = "ghostty --title=spotify-player -e spotify_player";
|
||||
icon = "spotify";
|
||||
terminal = false;
|
||||
categories = [ "Audio" "Music" "Player" "AudioVideo" ];
|
||||
};
|
||||
|
||||
# Warm Ghostty instance — new windows attach via gtk-single-instance.
|
||||
systemd.user.services.ghostty-daemon = lib.mkIf isDesktop {
|
||||
Unit = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue