aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Ben Boeckel <mathstuf@gmail.com>2012-03-26 21:09:15 -0400
committerGravatar Ben Boeckel <mathstuf@gmail.com>2012-03-26 21:09:15 -0400
commite387bb4f79c126066193c1db5173faab82cd531a (patch)
treed7fca26d180ae98b475f5f299816b2112588eebd
parentaa3adf3a7ac095f8745a56599df8bf33ae3adf93 (diff)
Clear the KEYCMD before doing the action
-rwxr-xr-xexamples/data/scripts/follow.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/data/scripts/follow.sh b/examples/data/scripts/follow.sh
index de126eb..7c2710a 100755
--- a/examples/data/scripts/follow.sh
+++ b/examples/data/scripts/follow.sh
@@ -20,6 +20,8 @@ case "$result" in
uriaction=$1
uri=${result#XXXRETURNED_URIXXX}
+ printf 'set mode=\nevent KEYCMD_CLEAR\n' > "$UZBL_FIFO"
+
case "$uriaction" in
set)
printf 'uri '"$uri"'\n' | sed -e 's/@/\\@/' > "$UZBL_FIFO"
@@ -28,5 +30,4 @@ case "$result" in
printf "$uri" | xclip
;;
esac
- printf 'set mode=\nevent KEYCMD_CLEAR\n' > "$UZBL_FIFO"
esac