2024-08-01 18:27:47 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2024-08-09 02:50:43 +00:00
|
|
|
home.packages = [ pkgs.spotify-player ];
|
2024-08-01 18:27:47 +00:00
|
|
|
xdg.configFile."spotify-player/theme.toml".text = builtins.readFile (
|
|
|
|
pkgs.fetchFromGitHub {
|
2023-12-19 17:14:54 +00:00
|
|
|
owner = "catppuccin";
|
|
|
|
repo = "spotify-player";
|
2024-02-07 21:59:29 +00:00
|
|
|
rev = "002d51b02b3a2ebc0804e4839ee604dbdab4bec3";
|
|
|
|
sha256 = "sha256-IUhzVrIBMi/Dn6+HV0m9i38Msg8zzzJlR85JeEVE7EU=";
|
2023-12-19 17:14:54 +00:00
|
|
|
}
|
2024-08-01 18:27:47 +00:00
|
|
|
+ "/src/theme.toml"
|
|
|
|
);
|
|
|
|
xdg.configFile."spotify-player/app.toml".source =
|
|
|
|
(pkgs.formats.toml { }).generate "spotify-player-config"
|
|
|
|
{
|
|
|
|
client_id = "41af4976ba70474fbd541ee8764a2cda";
|
|
|
|
theme = "Catppuccin-mocha";
|
|
|
|
enable_notify = false;
|
|
|
|
enable_media_control = true;
|
|
|
|
device.volume = 100;
|
|
|
|
};
|
2023-12-19 17:14:54 +00:00
|
|
|
programs.nushell.shellAliases.spt = "spotify_player";
|
|
|
|
}
|