Add cantata

This commit is contained in:
Alexander Bantyev 2021-07-27 18:39:01 +03:00
parent 644d517cac
commit 6fecd8bb0c
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5
3 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,32 @@
{ pkgs, config, ... }: {
home-manager.users.balsoft = {
home.packages = [ pkgs.cantata ];
wayland.windowManager.sway = {
config = {
assigns."" = [{ app_id = "cantata"; }];
};
};
xdg.configFile."cantata/cantata.conf".text = pkgs.my-lib.genIni {
General = {
lyricProviders = "azlyrics.com, chartlyrics.com, lyrics.wikia.com";
wikipediaLangs = "en:en";
mpris = "true";
currentConnection = "Default";
version = pkgs.cantata.version;
};
AlbumView.fullWidthCover = false;
Connection-Default = {
host = "localhost";
passwd = "";
port = "6600";
};
VolumeControl.control = "mpd";
};
};
startupApplications = [ "${pkgs.cantata}/bin/cantata" ];
}

View File

@ -38,7 +38,6 @@ in {
{ title = "nheko"; }
{ title = "Slack.*"; }
];
"" = [{ app_id = "cantata"; }];
};
fonts = {
names = [ config.themes.fonts.main.family ];

View File

@ -13,6 +13,7 @@
virtualisation
alacritty
cantata
emacs
firefox
geary