Kieran's opinionated (and probably slightly dumb) nix config
1{
2 lib,
3 config,
4 ...
5}:
6{
7 options.atelier.apps.tofi.enable = lib.mkEnableOption "Enable tofi config";
8
9 config = lib.mkIf config.atelier.apps.tofi.enable {
10 catppuccin.tofi.enable = false;
11
12 # tofi config
13 programs.tofi = {
14 enable = true;
15 settings = {
16 font = "Fira Sans";
17 font-size = 24;
18
19 prompt-text = ''"> "'';
20 placeholder-text = "search for something";
21 hide-cursor = true;
22
23 corner-radius = 10;
24 outline-width = 3;
25 border-width = 0;
26 padding-left = "4%";
27 padding-top = "2%";
28 padding-right = 0;
29 padding-bottom = 0;
30
31 outline-color = "#1E2030";
32 text-color = "#cad3f5";
33 prompt-color = "#ed8796";
34 placeholder-color = "#8087A2";
35 selection-color = "#eed49f";
36 background-color = "#24273a";
37
38 width = "35%";
39 height = "15%";
40 };
41 };
42 };
43}