init: public
This commit is contained in:
29
modules/desktop/notify/swaync/default.nix
Normal file
29
modules/desktop/notify/swaync/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
lib.my.makeHomePackageConfig {
|
||||
inherit config pkgs;
|
||||
packageName = "swaync";
|
||||
packagePath = [ "swaynotificationcenter" ];
|
||||
optionPath = [
|
||||
"desktop"
|
||||
"notify"
|
||||
"swaync"
|
||||
];
|
||||
extraConfig = {
|
||||
my.home = {
|
||||
programs.niri.settings.binds."Mod+End".action.spawn = [
|
||||
"swaync-client"
|
||||
"-t"
|
||||
"-sw"
|
||||
];
|
||||
xdg.configFile."swaync" = {
|
||||
source = ./config;
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user