nixos-config/user/bmenu.nix

39 lines
680 B
Nix
Raw Normal View History

{
config,
pkgs,
lib,
inputs,
...
}:
let
2024-06-05 01:18:48 -03:00
inherit (config.my)
key
theme
accent
font
;
inherit (theme) color;
in
{
2022-10-24 20:31:23 -03:00
# My bemenu wrapper
xdg.configFile = {
"bmenu.conf".text = ''
set fn "${font.mono} ${toString font.size.small}"
set tb "${color.bg}${theme.opacityHex}"
set tf "${accent.color}"
set fb "${color.bg}${theme.opacityHex}"
set ff "${color.txt}"
set nb "${color.bg}${theme.opacityHex}"
set nf "${color.txt}"
set ab "${color.bg}${theme.opacityHex}"
set af "${color.txt}"
2022-10-24 20:31:23 -03:00
set hb "${accent.color}"
set hf "${accent.fg}"
2023-01-21 16:06:23 -03:00
set bdr "${accent.color}"
2022-10-24 20:31:23 -03:00
'';
};
}