Set up spotifyd with spotify-qt

This commit is contained in:
2022-06-25 01:07:03 +01:00
parent 6a0f22f4a4
commit 18e5839ea8
8 changed files with 53 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
./i3
./i3status-rust
# ./polybar
./spotify
./rofi
];
}

View File

@@ -199,7 +199,10 @@ in {
}
{
command = "move scratchpad";
criteria = {instance = "spotify";};
criteria = {
instance = "spotify";
window_type = "normal";
};
}
];
};

View File

@@ -38,7 +38,7 @@
}
{
block = "music";
player = "spotify";
player = "spotifyd";
buttons = ["prev" "play" "next"];
}
{

View File

@@ -0,0 +1,21 @@
{
config,
lib,
pkgs,
...
}: {
services.spotifyd = {
enable = true;
package = pkgs.spotifyd.override {withMpris = true;};
settings = {
global = {
username = "me@danielpatterson.dev";
password_cmd = "cat /run/agenix/spotify_pass";
initial_volume = "70";
device_type = "computer";
};
};
};
}