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/firesend | 2 +- tools/spotlight | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/firesend b/tools/firesend index cec4379..6edcc61 100755 --- a/tools/firesend +++ b/tools/firesend @@ -1,2 +1,2 @@ #!/bin/bash -$HOME/.tools/exec_to_workspace 2 firefox --new-tab $@ +$HOME/.tools/exec_to_workspace 2 firefox --new-tab $@ > /dev/null 2>&1 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