diff options
Diffstat (limited to 'scripts/.local/bin/cdmenu')
| -rwxr-xr-x | scripts/.local/bin/cdmenu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/.local/bin/cdmenu b/scripts/.local/bin/cdmenu index c31f269..89d39a7 100755 --- a/scripts/.local/bin/cdmenu +++ b/scripts/.local/bin/cdmenu @@ -1,7 +1,7 @@ -#! /bin/bash +#!/bin/sh # colored dmenu for use in scripts getcolor() { - xrdb -query | awk '/*.'$1:'/ { print substr($2,2) }' + xrdb -query | awk '/*.'"$1":'/ { print substr($2,2) }' } dmenu -nb "#$(getcolor background)" -nf "#$(getcolor foreground)" -sb "#$(getcolor foreground)" -sf "#$(getcolor background)" "$@" |
