blob: 6036dd12787503ac2bb2b2766ee8508c42faa29f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{
config,
lib,
...
}: let
inherit (lib) mkIf;
cfg = config.apps;
in {
config = mkIf cfg.wofi {
default.appLauncher = lib.mkDefault "wofi --show drun --prompt 'Seach Programs'";
home-manager.users.${config.user} = {
programs.wofi = {
enable = true;
settings = {
key_expand = "Tab";
term = "kitty";
matching = "multi-contains";
insensitive = true;
gtk_dark = true;
hide_scroll = true;
};
style = import ./style.nix {theme = config.theme;};
};
};
};
}
|