summaryrefslogtreecommitdiff
path: root/home/wayland/modules/sway/bemenu.nix
blob: ced6b2ffeb6da94e18220c4c3f795f046a3d7a2d (plain) (blame)
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
{ config, lib, ... }: let
  background = "#000000";
  foreground = "#FFFFFF";
  swayYellow = "#d79921";

  font = config.global.font.sans.name
    + lib.optionalString (config.global.font.sans.size != null)
      " " + builtins.toString config.global.font.sans.size;
in {
  programs.bemenu = {
    enable = true;

    settings = {
      fn = font;
      hp = 6;

      tf = swayYellow;
      hf = swayYellow;

      nf = foreground;
      af = foreground;

      nb = background;
      cf = background;
      tb = background;
      fb = background;
      hb = background;
      ab = background;
    };
  };
}