From bfe3f27650474ef29bc99f5227520d58f74e906c Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Wed, 22 Apr 2015 23:29:34 +0200 Subject: fixed spotlight with locate not escaping properly --- tools/spotlight | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/spotlight') diff --git a/tools/spotlight b/tools/spotlight index 24cdc87..a60a201 100755 --- a/tools/spotlight +++ b/tools/spotlight @@ -1,4 +1,4 @@ #!/bin/sh source ~/.colors -locate ~/ | dmenu -i -l 20 -sb $COLOR0 -nb $COLOR0 -nf $COLOR11 -sf $COLOR3 | xargs urxvt -e rifle -p0 -exit 0 +bullet=`locate ~/ | dmenu -i -l 20 -sb $COLOR0 -nb $COLOR0 -nf $COLOR11 -sf $COLOR3` +urxvt -e rifle -p0 "$bullet" -- cgit v1.2.3-54-g00ecf