Answer the question
In order to leave comments, you need to log in
How to intercept the window?
I wrote a small utility called by hotkeys (bash + zenity + xsel), whose task is to search, store, insert snippets. And just at the moment of an insertion there were problems. I can send the necessary data set to the buffer, and then insert it manually.
But I would like to implement the following functionality:
- while calling the script using a hot key - get the value of the window that was active (previous window),
- after successful completion of the work - find the window and transfer data to it, i.e. perform an insert operation.
Any ideas where to dig and what packages can help with this?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question