aboutsummaryrefslogtreecommitdiff
path: root/modules/tofi.nix
blob: 801aecfd103449525139faa678f771462e65c334 (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
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
{ config, lib, pkgs, ... }:
let
  cfg = config.modules.tofi;
  scheme = config.modules.scheme;
in
{
  options.modules.tofi = {
    enable = lib.mkEnableOption "tofi";
  };

  config = lib.mkIf cfg.enable {
    home.packages = with pkgs; [
    ];
    programs.tofi = {
      enable = true;
      settings = {
        # font = "ComicShannsMono Nerd Font Mono 10";
        font = "BerkeleyMonoPatched Nerd Font 10";
        "font-size" = 15;

        width = "60%";
        height = "50%";

        "text-color" = scheme.base05;
        "placeholder-color" = scheme.base00;

        "selection-background" = scheme.base01; #151515
        "selection-color" = scheme.base0B;
        "selection-background-padding"= "0, -1";

        "text-cursor-style"="bar";
        "text-cursor-color"=scheme.base05;

        "prompt-text"="\"\"";

        "background-color"=scheme.base00;

        "outline-width" = 2;
        "outline-color" = scheme.base01;

        "border-width"=0;
        "border-color"="#00000000";


        "corner-radius"=8;

        "text-cursor" = true;
        "hidden-character" = "";
        terminal = "foot";
        ascii-input = true;
      };
    };
  };
}