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