blob: 42be7abb6e7e70d69df973ca173a73781bf608b2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
{ pkgs, vars }: # <- accept the colors set as an argument
# Wrapper for dmenu that uses your color variables
pkgs.writeShellScriptBin "app-launcher" ''
#!/usr/bin/env sh
exec ${pkgs.dmenu}/bin/dmenu_run \
-fn 'JetBrains Mono-12' \
-nb '${vars.colors.background}' -nf '${vars.colors.foreground}' \
-sb '${vars.colors.accent}' -sf '${vars.colors.text}'
''
|