aboutsummaryrefslogtreecommitdiff
path: root/tools
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
parent1272155720a681c9c9ededdd19f751e37c665c96 (diff)
downloaddotfiles-bfe3f27650474ef29bc99f5227520d58f74e906c.tar.gz
dotfiles-bfe3f27650474ef29bc99f5227520d58f74e906c.tar.bz2
dotfiles-bfe3f27650474ef29bc99f5227520d58f74e906c.zip
fixed spotlight with locate not escaping properly
Diffstat (limited to 'tools')
-rwxr-xr-xtools/firesend2
-rwxr-xr-xtools/spotlight4
2 files changed, 3 insertions, 3 deletions
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"