>All this renewed activity has reminded me I have a few StumpWM utilities
>that I've been meaning to finish. One is an extension to emacs org-mode,
>letting StumpWM call in to the org-mode capture process.
>
>One thing I'd really like to have working for that is the ability to
>extract a url from the focused web browser. From what I can tell, that
>information isn't present as part of the xlib window data. So it's
>sounding a bit iffy.
>
>Does anyone have any bright ideas in this direction? I'd be willing to
>write multiple browser-specific implementations, but I'm not even sure
>where to start. Perhaps sending a fake keypress to highlight the URL
>bar, and getting the x selection...?

There are some funny problems for that…

I do have an implementation for that as a shell script for Firefox. But
if you run it synchronously inside StumpWM key binding handler, you will
have a problem that the keyboard is still grabbed by StumpWM itself.




_______________________________________________
Stumpwm-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel

Reply via email to