summaryrefslogtreecommitdiff
path: root/home/wayland/modules/sway/bemenu.nix
blob: ed1094dfd06d2faf3fbae4b93eada1178d470eab (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
32
33
34
{ 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;
    };
  };
}