py3status icon indicating copy to clipboard operation
py3status copied to clipboard

Click on parts of external_script module output

Open syyyr opened this issue 3 months ago • 21 comments

How can we help you today? Hi, I have this kind of a external_script module: image It basically just shows which packages from the aur should be updated. Now, I thought it'd be handy if I could click on the package, and it'd open the AUR page for it. Right now, I think it is possible to assign a script to on_click and even pass the output of the module to it, but there's no way to know which part of the output was clicked. I see that there's a "composite" module feature, which when clicked exports the OUTPUT_PART variable to the script, but I found no way to output a composite module from an external_script. Is this something like this doable in py3status? Could it be implemented?

Thanks.

Your py3status version

$ py3status -v
py3status version 3.56 (python 3.11.8) on i3

syyyr avatar Mar 27 '24 10:03 syyyr