Separated concerns in desktop environment
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
let
|
||||
cfg = config.samfelag.modules.app.spotify;
|
||||
i3Cfg = config.samfelag.modules.desktop.i3;
|
||||
in
|
||||
{
|
||||
options.samfelag.modules.app.spotify = {
|
||||
@@ -11,5 +12,9 @@ in
|
||||
hm.home.packages = with pkgs; [
|
||||
spotify
|
||||
];
|
||||
|
||||
samfelag.modules.desktop.i3.extraKeybindings = lib.mkIf i3Cfg.enable {
|
||||
"${i3Cfg.mod}+Control+0" = "exec ${pkgs.spotify}/bin/spotify";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user