{ writeShellApplication, bemenu, hack-font, hackNerdLigatures ? hack-font, # Color config color ? { base00 = "000000"; base05 = "ff0000"; base08 = "00ff00"; base0D = "0000ff"; }, # Command name, cmd ? "bemenu-run", ... }: writeShellApplication { name = "bemenu-run-configured"; runtimeInputs = [ bemenu hackNerdLigatures ]; text = '' exec ${cmd} -inl80 \ --fn 'Hack NF FC Ligatured 11' \ --tb=#${color.base08} \ --tf=#${color.base00} \ --fb=#${color.base00} \ --ff=#${color.base05} \ --nb=#${color.base00} \ --nf=#${color.base05} \ --hb=#${color.base0D} \ --hf=#${color.base00} \ "$@" ''; }