aboutsummaryrefslogtreecommitdiff
path: root/modules/tofi.nix
blob: ad1b7e877090d21348f1cc6a13d9fbd50851e281 (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
{ config, lib, pkgs, ... }:
let
  cfg = config.modules.tofi;
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" = "#cacaca";
        "placeholder-color" = "#0f0f0f";

        "selection-background" = "#151515FF";
        "selection-color" = "#8aac8b";
        "selection-background-padding"= "0, -1";

        "text-cursor-style"="bar";
        "text-cursor-color"="#cacaca";

        "prompt-text"="";

        "background-color"="#0f0f0f";

        "outline-width" = 2;
        "outline-color" = "#191919";

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


        "corner-radius"=8;

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