Re:Programs that have saved Hacker News 100+ hours by automa...
by heavyset_go on Saturday February 12, 2022 @07:21PM
(#30317764)
It's not the same, but kwin's rules and scripting features allow you to inspect windows and automate some of their actions. If you combine them with xdotool/ydotool, you might be able to recreate some of the features you expect.
[ Parent
| on HN ]
Re:Programs that have saved Hacker News 100+ hours by automa...
by sgc on Saturday February 12, 2022 @08:16PM
(#30318129)
Sending me towards the right path.
It looks like I could write a little script using some of xdotools built in tools for cursor coordinates, active window info and geometry etc that would be pretty useful. As a quick solution it could alert using notify-send on a key combination, although figuring out how to append the data to the cursor overlay would be even nicer.
Re:Programs that have saved Hacker News 100+ hours by automa...
by heavyset_go on Saturday February 12, 2022 @11:19PM
(#30319182)
There's also wmctrl and xprop.
http://tripie.sweb.cz/utils/wmctrl/
https://www.freedesktop.org/wiki/Software/wmctrl/
https://www.linuxjournal.com/magazine/hack-and-automate-your...
https://www.x.org/releases/X11R7.5/doc/man/man1/xprop.1.html
The 'Tips' section of the first link also has several other utilities that are pertinent: http://tripie.sweb.cz/utils/wmctrl/#tips