View Single Post
Old 10-23-2013, 05:18 AM   #11
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
ah... Thanks : ) I'll give that a try then. Every time I ran xev in the past it never spitted out what I expected. I'll give it another go then...

I /think/ -name is the name of the xev window itself... but -id could work...
appreciated.

xev -id $(xwininfo -tree -root | awk '/Luakit Browser Framework/ {print $1}') 2> /dev/null | awk '/root/ {print $7} ' | tr -d ')' | cut -d"," -f2 | awk '$0 < 50 {system("/mnt/us/extensions/luakit/usr/bin/toggleKeys close")}' || awk '$0 > 700 {system("/mnt/us/extensions/luakit/usr/bin/toggleKeys open")}' helpful...

Last edited by twobob; 10-23-2013 at 07:05 AM.
twobob is offline   Reply With Quote