Home

dotnix @5137f6d93f88bc1b3bca536f58db9759d81ae7a8 - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
dotnix / home / gui / sherlock.nix
- raw -
 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
  programs.sherlock = {
    enable = true;
    settings = {
      status_bar.enable = false;
      default_apps.browser = "firefox --new-tab %u";
    };
    launchers = [
      {
        args = {
          capabilities = [
            "calc.math"
            "calc.units"
          ];
        };
        async = false;
        exit = true;
        home = "Search";
        name = "Calculator";
        on_return = "copy";
        priority = 1;
        shortcut = true;
        spawn_focus = true;
        type = "calculation";
      }
      {
        alias = "app";
        args = { };
        async = false;
        exit = true;
        home = "Home";
        name = "App Launcher";
        priority = 3;
        shortcut = true;
        spawn_focus = true;
        type = "app_launcher";
      }
      {
        alias = "kagi";
        args = {
          icon = "firefox";
          search_engine = "https://kagi.com/search?q={keyword}";
        };
        display_name = "Kagi";
        name = "Web Search";
        priority = 100;
        tag_start = "{keyword}";
        type = "web_launcher";
      }
    ];
    # causes issues with inheriting env etc
    systemd.enable = false;
  };
}