Final User interface tweaks to basic commit code (shows dialogs while it does stuff)
[gitlive] / WindowLog.js
1 //<script type="text/javascript">
2 /**
3  * log desktop actions..
4  * 
5  * a potential add-on to gitlive....
6  * - basically tracks what applications are being worked on when, allowing you to
7  * use it to generate time tracking (eg. invoices...) later..
8  * 
9  * mouse:
10  * xdotool getmouselocation
11  *
12  * xwit -property WM_NAME -print 
13  * 0x3a13d6c: x=1 y=25 w=1109 h=747 d=32 'root@wideboy: /home/alan'
14  * root@wideboy:/home/alan# xwit -property WM_CLASS -print 
15  * 0x3a13d6c: x=1 y=25 w=1109 h=747 d=32 'gnome-terminal'
16  * root@wideboy:/home/alan# 
17  * 
18  * 
19  * Not sure how we handle last key press...
20  * 
21  * -- log to a remote url.
22  * 
23  * LOG:
24  * DATE / TIME / Application / Title
25  * if cursor same as before.. - SEND 'IDLE'... (twice, then stop sending..)
26  * 
27  * For commits... (we send out every 1 minute as well, it's upto the other end to determine if that means updating
28  * or creating a new record..
29  * yyyy-mm-dd /12:00 / GIT / XXXXX
30  * 
31  */
32
33
34