Set up spotifyd with spotify-qt
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
./i3
|
||||
./i3status-rust
|
||||
# ./polybar
|
||||
./spotify
|
||||
./rofi
|
||||
];
|
||||
}
|
||||
|
||||
@@ -199,7 +199,10 @@ in {
|
||||
}
|
||||
{
|
||||
command = "move scratchpad";
|
||||
criteria = {instance = "spotify";};
|
||||
criteria = {
|
||||
instance = "spotify";
|
||||
window_type = "normal";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
}
|
||||
{
|
||||
block = "music";
|
||||
player = "spotify";
|
||||
player = "spotifyd";
|
||||
buttons = ["prev" "play" "next"];
|
||||
}
|
||||
{
|
||||
|
||||
21
users/daniel/configs/desktop/spotify/default.nix
Normal file
21
users/daniel/configs/desktop/spotify/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -58,6 +58,7 @@
|
||||
pamixer
|
||||
pavucontrol
|
||||
playerctl
|
||||
spotify-qt
|
||||
spotify
|
||||
xclip
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user