[wiki] [sites] wiki updated

From: <hg_AT_suckless.org>
Date: Fri, 2 Apr 2010 11:36:38 +0000 (UTC)

changeset: 495:8922adbb7501
tag: tip
user: nibble
date: Fri Apr 02 13:37:13 2010 +0200
files: surf.suckless.org/files/bmarks.md
description:
minor aesthetical fixes in bmarks script


diff -r 3a8ec6b73f00 -r 8922adbb7501 surf.suckless.org/files/bmarks.md
--- a/surf.suckless.org/files/bmarks.md Fri Apr 02 13:25:21 2010 +0200
+++ b/surf.suckless.org/files/bmarks.md Fri Apr 02 13:37:13 2010 +0200
_AT_@ -60,7 +60,7 @@
         -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
_AT_@ -88,7 +88,7 @@
                         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"
Received on Fri Apr 02 2010 - 13:36:38 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:31:12 CEST