summaryrefslogtreecommitdiff
path: root/programs/wofi/default.nix
blob: d29c0fbffaf7b33c138397d31a637d9ce0462f70 (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
{
  config,
  lib,
  ...
}: {
  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;};
    };
  };
}