bemenu: fix undefined variable error (#1390)
Link: https://github.com/nix-community/stylix/pull/1390 Reviewed-by: awwpotato <awwpotato@voidq.com>
This commit is contained in:
parent
dedf5de579
commit
e38a646e5c
1 changed files with 7 additions and 3 deletions
|
|
@ -39,7 +39,11 @@ mkTarget {
|
|||
}
|
||||
)
|
||||
(
|
||||
{ colors, opacity }:
|
||||
{
|
||||
colors,
|
||||
opacity,
|
||||
cfg,
|
||||
}:
|
||||
{
|
||||
programs.bemenu.settings =
|
||||
with colors.withHashtag;
|
||||
|
|
@ -63,8 +67,8 @@ mkTarget {
|
|||
nf = "${base05}"; # Normal fg
|
||||
scf = "${base03}"; # Scrollbar fg
|
||||
|
||||
ab = "${if alternate then base00 else base01}"; # Alternate bg
|
||||
af = "${if alternate then base04 else base05}"; # Alternate fg
|
||||
ab = "${if cfg.alternate then base00 else base01}"; # Alternate bg
|
||||
af = "${if cfg.alternate then base04 else base05}"; # Alternate fg
|
||||
};
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue