Registered Member
|
Klipper actions and gestures should allow to use source window id as parameter.
Of course using gestures category we can define gesture only affects some windows, but that's not satisfied. I need to define for example close window gesture or clipper action for regular expression ( [0-9]{1,2}(\:[0-9]{1,2}){2} ) : /bin/bash -c "sleep $(( `echo %s | cut -d: -f1 ` * 3600 + ` echo %s | cut -d: -f2 ` * 60 + ` echo %s | cut -d: -f3 ` )); xmessage Counting ends: %s & play /usr/share/sounds/pop.wav " And now I like to obtain source's window title, so xmessage will show title of source window on own titlebar. We can also extends gestures to perform much more operations.
Lachu, proud to be a member of KDE forums since 2008-Nov.
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]