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 = { };
};
})
];
}

View file

@ -9,6 +9,7 @@
"SUPER, return, exec, uwsm app -- $TERMINAL $MULTIPLEXER"
"SUPER, O, exec, uwsm app -- $BROWSER"
"SUPER, Escape, exec, uwsm app -- $LOCKSCREEN"
"SUPER, space, exec, uwsm app -- $($LAUNCHER --launch-prefix=\"uwsm app -- \")"
"SUPER, H, cyclenext, visible"
"SUPER, L, cyclenext, visible prev"