diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2010-08-21 10:07:26 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2010-10-02 11:56:28 -0400 |
commit | b9cc0b3e0a9ed7f5ce1181e94cf813544011547e (patch) | |
tree | d63bfd8fdafd3bd0d3ddc9c159e4dc8a5e8f783c /examples/data/scripts/load_url_from_bookmarks.sh | |
parent | 32aabff645692e78e2ef2c438d11ce2fafac9b91 (diff) |
Put `then' on the same line as `if'
Diffstat (limited to 'examples/data/scripts/load_url_from_bookmarks.sh')
-rwxr-xr-x | examples/data/scripts/load_url_from_bookmarks.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/data/scripts/load_url_from_bookmarks.sh b/examples/data/scripts/load_url_from_bookmarks.sh index 1e9f9e7..569f2bf 100755 --- a/examples/data/scripts/load_url_from_bookmarks.sh +++ b/examples/data/scripts/load_url_from_bookmarks.sh @@ -5,8 +5,7 @@ file=${XDG_DATA_HOME:-$HOME/.local/share}/uzbl/bookmarks [ -r "$file" ] || exit COLORS=" -nb #303030 -nf khaki -sb #CCFFAA -sf #303030" -if dmenu --help 2>&1 | grep -q '\[-rs\] \[-ni\] \[-nl\] \[-xs\]' -then +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}'` |