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 --- LICENSE | 2 +- config/uzbl/config | 2 +- tools/firesend | 2 +- tools/spotlight | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/LICENSE b/LICENSE index 59fd821..088ab4b 100644 --- a/LICENSE +++ b/LICENSE @@ -15,4 +15,4 @@ as the name is changed. THIS COMES WITH ABSOLUTELY NO WARRANTY TO THE UTMOST EXTENT PERMITTED BY APPLICABLE LAW. THE AUTHOR(S) HAVE NO LIABILITY TO ANYONE ABOUT ANYTHING AT ANY POINT IN TIME AND RETAIN THE -RIGHT TO EAT NUTTELA WHENEVER THEY WANT. +RIGHT TO EAT NUTELLA WHENEVER THEY WANT. diff --git a/config/uzbl/config b/config/uzbl/config index 7d2abe7..600e5e6 100644 --- a/config/uzbl/config +++ b/config/uzbl/config @@ -501,7 +501,7 @@ set formfiller spawn @scripts_dir/formfiller.sh @cbind g> = event LAST_TAB @cbind l = event NEXT_TAB @cbind h = event PREV_TAB -@cbind gi_ = event GOTO_TAB %s +#@cbind gi_ = event GOTO_TAB %s @cbind = event MOVE_CURRENT_TAB_LEFT @cbind = event MOVE_CURRENT_TAB_RIGHT @cbind gm_ = event MOVE_CURRENT_TAB %s 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