This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Allow to obtain source window id.

9

Votes
9
0
Tags: klipper, gestures klipper, gestures klipper, gestures
(comma "," separated)
Lachu
Registered Member
Posts
864
Karma
1
OS

Allow to obtain source window id.

Thu Dec 23, 2010 10:53 am
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.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]