commit 3e19c41e8f8623b21ed88dfb8e4436f819d4aa76 parent 025527e824834b38d4573de726c6439411be1576 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 4 Mar 2019 21:21:50 +0100 Use foreground/background colors for dmenu Diffstat:
M | links/bin/dmenu_themed | | | 10 | +++++----- |
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/links/bin/dmenu_themed b/links/bin/dmenu_themed @@ -1,13 +1,13 @@ #!/bin/bash function get_xresources_color { - rg "\*\.color$1:" ~/.Xresources | awk '{ print $2 }' + rg "\*\.$1:" ~/.Xresources | awk '{ print $2 }' } -dmenuopts="-nb $(get_xresources_color 0)\ - -nf $(get_xresources_color 15) \ - -sb $(get_xresources_color 12) \ - -sf $(get_xresources_color 15) \ +dmenuopts="-nb $(get_xresources_color background)\ + -nf $(get_xresources_color foreground) \ + -sb $(get_xresources_color foreground) \ + -sf $(get_xresources_color background) \ -fn PragmataPro-10" if [[ "$1" = "run" ]]; then