aboutsummaryrefslogtreecommitdiff
path: root/tools/spotlight
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2015-04-22 23:29:34 +0200
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2015-04-22 23:29:34 +0200
commitbfe3f27650474ef29bc99f5227520d58f74e906c (patch)
tree47c01cd8eaae908f662a2160a272f3b848aeca99 /tools/spotlight
parent1272155720a681c9c9ededdd19f751e37c665c96 (diff)
downloaddotfiles-bfe3f27650474ef29bc99f5227520d58f74e906c.tar.gz
dotfiles-bfe3f27650474ef29bc99f5227520d58f74e906c.tar.bz2
dotfiles-bfe3f27650474ef29bc99f5227520d58f74e906c.zip
fixed spotlight with locate not escaping properly
Diffstat (limited to 'tools/spotlight')
-rwxr-xr-xtools/spotlight4
1 files changed, 2 insertions, 2 deletions
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"