diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2010-08-21 10:09:09 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2010-10-02 11:56:29 -0400 |
commit | 1c8635db3838f613e400a5ef8897f7853e260276 (patch) | |
tree | 714c1dcb4c76cbcccf4fd14fcecb493293b79422 /examples/data/scripts/load_url_from_bookmarks.sh | |
parent | b9cc0b3e0a9ed7f5ce1181e94cf813544011547e (diff) |
Use $() over ``
Diffstat (limited to 'examples/data/scripts/load_url_from_bookmarks.sh')
-rwxr-xr-x | examples/data/scripts/load_url_from_bookmarks.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/data/scripts/load_url_from_bookmarks.sh b/examples/data/scripts/load_url_from_bookmarks.sh index 569f2bf..3134407 100755 --- a/examples/data/scripts/load_url_from_bookmarks.sh +++ b/examples/data/scripts/load_url_from_bookmarks.sh @@ -8,11 +8,11 @@ COLORS=" -nb #303030 -nf khaki -sb #CCFFAA -sf #303030" if dmenu --help 2>&1 | grep -q '\[-rs\] \[-ni\] \[-nl\] \[-xs\]'; then DMENU="dmenu -i -xs -rs -l 10" # vertical patch # show tags as well - goto=`$DMENU $COLORS < $file | awk '{print $1}'` + goto=$($DMENU $COLORS < $file | awk '{print $1}') else DMENU="dmenu -i" # because they are all after each other, just show the url, not their tags. - goto=`awk '{print $1}' $file | $DMENU $COLORS` + goto=$(awk '{print $1}' $file | $DMENU $COLORS) fi #[ -n "$goto" ] && echo "uri $goto" > $4 |