diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-09-03 19:48:22 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-09-03 19:48:22 +0200 |
commit | 6c2689caf449fe47bd88b60ba2555a5dd4e19732 (patch) | |
tree | 55fe9a227b44f8246183f78357622e295fb193cc /examples | |
parent | 499951e3d148d5199e1c86a6bf5c82bef0e54e6a (diff) |
fix for KEY_PRESS + no more need for ugly fifo assignments
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/data/uzbl/scripts/dispatcher.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/data/uzbl/scripts/dispatcher.sh b/examples/data/uzbl/scripts/dispatcher.sh index 0e9ba6b..3d0aa03 100755 --- a/examples/data/uzbl/scripts/dispatcher.sh +++ b/examples/data/uzbl/scripts/dispatcher.sh @@ -42,9 +42,8 @@ while read EVENT; do if [ x"$ENAME" = 'xFIFO_SET' ]; then FIFO_PATH=`echo $EVENT | cut -d ' ' -f 3` - elif [ x"$ENAME" = x'KEYPRESS' ]; then - KEY=$(echo "$EVENT" | sed -ne 's/KEYPRESS \[.*\] \(.*$\)/\1/p') - FIFO_PATH='/tmp/uzbl_fifo_'$(echo "$EVENT" | sed -ne 's/KEYPRESS \[\(.*\)\] .*$/\1/p') + elif [ x"$ENAME" = x'KEY_PRESS' ]; then + KEY=$(echo "$EVENT" | sed -ne 's/KEY_PRESS \[.*\] \(.*$\)/\1/p') # Clear mofifiers on Escape # |