mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-10-05 11:18:24 +02:00
@@ -0,0 +1,25 @@
|
||||
# Myx is a lean terminal Spotify player written in Rust, with album-art-reactive
|
||||
# theming, a live visualizer and synced lyrics.
|
||||
{
|
||||
config,
|
||||
pkgs-unstable,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home.packages = [pkgs-unstable.myx];
|
||||
|
||||
home.persistence."/persist" = lib.mkIf (config.var.impermanenceEnabled or false) {
|
||||
directories = [".config/myx"];
|
||||
};
|
||||
|
||||
xdg.desktopEntries.myx = {
|
||||
name = "Spotify";
|
||||
exec = "${pkgs.ghostty}/bin/ghostty --window-padding-x=0 --window-padding-y=0 -e ${pkgs-unstable.myx}/bin/myx";
|
||||
icon = "spotify";
|
||||
comment = "Control Spotify from the terminal";
|
||||
categories = ["Audio" "Music"];
|
||||
terminal = false;
|
||||
settings.Keywords = "spotify;myx;music;";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user