Switch spotify client to Spot

GTK/Rust implementation of a spotify client
This commit is contained in:
Evie Litherland-Smith 2023-10-21 08:24:03 +01:00
parent 736750b21c
commit 685063b6ed
3 changed files with 17 additions and 21 deletions

View file

@ -113,7 +113,7 @@ in ''
bind = SUPER ALT, W, exec, [workspace 3] firefox
bind = SUPER ALT, A, exec, [workspace 4] alacritty -e khal interactive
bind = SUPER ALT, F, exec, [workspace 5] thunar
bind = SUPER ALT, S, exec, [workspace 6] alacritty -e ncspot
bind = SUPER ALT, S, exec, [workspace 6] spot
bind = SUPER ALT, C, exec, [workspace 7] signal-desktop
bind = SUPER ALT, R, exec, [workspace 8] remmina
bind = SUPER ALT, G, exec, [workspace 9] steam
@ -235,7 +235,7 @@ in ''
bind = SUPER, S, moveworkspacetomonitor, 6 current
bind = SUPER, S, workspace, 6
bind = SUPER SHIFT, S, movetoworkspace, 6
windowrulev2 = workspace 6 silent,class:(Alacritty),title:(ncspot)
windowrule = workspace 6 silent,(dev.alextren.Spot)
# 7: [c]hat
bind = SUPER, C, moveworkspacetomonitor, 7 current

View file

@ -3,10 +3,9 @@ in {
"format" = "{player_icon} ${titleFormat} {status_icon}";
"interval" = 1;
"player-icons" = {
"default" = "󰝚";
"mpv" = "󰝚";
"spotify" = "󰓇";
"ncspot" = "󰓇";
"default" = "󰲸";
"mpv" = "󰤽";
"spot" = "󰓇";
};
"status-icons" = {
"playing" = "󰐊";

View file

@ -1,24 +1,21 @@
{ config, lib, pkgs, ... }:
{
home.packages = with pkgs; [ mpc-cli ];
home.packages = with pkgs; [ mpc-cli spot ];
services.mpd = {
enable = true;
network.startWhenNeeded = true;
};
programs = {
mpv = {
enable = true;
scripts = with pkgs.mpvScripts; [
mpris
autoload
thumbfast
thumbnail
sponsorblock
quality-menu
webtorrent-mpv-hook
];
};
ncspot.enable = true;
programs.mpv = {
enable = true;
scripts = with pkgs.mpvScripts; [
mpris
autoload
thumbfast
thumbnail
sponsorblock
quality-menu
webtorrent-mpv-hook
];
};
}