summaryrefslogtreecommitdiff
path: root/features/user/gui/desktops/niri/parts/fuzzel.nix
blob: e939f88b1a380c4ea53c4a654622590f49cb3c0e (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
{ config, lib, ... }: let
  cfg = config.features.gui.desktops.niri.parts.fuzzel;
  aes = config.aesthetics;
in {
  options.features.gui.desktops.niri.parts.fuzzel.enable = lib.mkEnableOption "fuzzel";
  config = lib.mkIf cfg.enable {
    programs.fuzzel = {
      enable = true;
      settings = {
        main = {
          width = 20;
          #terminal = config.custom.libraries.default-applications.terminal-emulator.command;
        };
        border = {
          width = 3;
          radius = 4;
        };
        colors = with aes.scheme; {
          background = "${base00}ff";
          selection = "${base00}ff";
          selection-text = "${base0C}ff";
          selection-match = "${base0E}ff";
          match = "${base0E}ff";
          border = "${base0C}ff";
          text = "${base05}ff";
        };
      };
    };
  };
}