feat(homeModules/desktop): add app launcher

This commit is contained in:
Mohammad Rafiq 2025-05-25 23:32:43 +08:00
parent 2741493555
commit ad7c7056f9
No known key found for this signature in database
4 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{
config,
lib,
osConfig,
...
}:
{
config = lib.mkMerge [
(lib.mkIf (osConfig.desktop.launcher == "fuzzel") {
home.sessionVariables.LAUNCHER = "fuzzel";
programs.fuzzel = {
enable = true;
};
})
(lib.mkIf (osConfig.desktop.launcher == "wofi") {
home.sessionVariables.LAUNCHER = "wofi";
programs.wofi = {
enable = true;
style = null;
settings = { };
};
})
];
}