sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 6e0d502a4b86c537cdf7f9d083d0c1abf77a07e5
parent 64eb591877e719f701e4f568ef024865c95d6da0
Author: nibble <unknown>
Date:   Fri,  2 Apr 2010 13:37:13 +0200

minor aesthetical fixes in bmarks script
Diffstat:
Msurf.suckless.org/files/bmarks.md | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/surf.suckless.org/files/bmarks.md b/surf.suckless.org/files/bmarks.md @@ -60,7 +60,7 @@ Code -sb $selbgcolor -sf $selfgcolor" s_xprop() { - [ -z "$2" ] || xprop -id $xid -f $1 8s -set $1 "$2" + [ -n "$2" ] && xprop -id $xid -f $1 8s -set $1 "$2" } case "$p" in @@ -88,7 +88,7 @@ Code uri="http://www.google.com/search?q=$arg" ;; "t") # tinyurl - [ -n "$uri" ] && uri="http://tinyurl.com/create.php?url=$uri" + uri="http://tinyurl.com/create.php?url=$uri" ;; "w") # wikipedia uri="http://wikipedia.org/wiki/$arg"