plasma-applet-commandoutput icon indicating copy to clipboard operation
plasma-applet-commandoutput copied to clipboard

Idea / Wish - a hover text (or command output to be flexible)

Open Peter-Ries opened this issue 2 years ago • 4 comments

I really love this applet. It helped me fake a "New Mail" tray icon with a self written mini python script and an output with the MesloLGS NF Font displaying an envelope icon when needed.

One thing that would make this applet a perfect "10+" would be the ability to display either a static text or a command output when hovering the applet.

Depending how simple this is I'd be glad if you could consider this idea for a next release.

Thanks & regards!

image ... the world icon shows my vpn status and toggles status on click ... the ebvelope shows new mails and triggers my gmail account in browser a hover text for addidional info would be great!

Peter-Ries avatar Apr 21 '22 20:04 Peter-Ries

There's a Pull Request for a static tooltip, and another for a showing stderr as the tooltip.

Having a separate command for the tooltip might be interesting, but in the case of a new mail script, it would need to send another http web request to list the number of mail unless the first polling script cached the value.

The Kargos widget has a special syntax for handling the output for what to display in the popup.

Zren avatar Apr 21 '22 22:04 Zren

It would be very nice to have a tooltip with a separate script for it. In my case it could be useful to show extended info about system

Screenshot_20221205_081943

lucazade avatar Dec 05 '22 07:12 lucazade

@Peter-Ries Would you care to share that python mail-checker script? I'd love to try and make also something like it as a discover update notifier replacement which will list the available updates, and ask the user to open discover or muon/synaptic to perform those updates offline or online. Unfortunately I don't have any python scripting skills, but I can manage to adapt some simple ones.

Sadi58 avatar Dec 11 '22 14:12 Sadi58

I implemented a tooltip command here:

https://github.com/Zren/plasma-applet-commandoutput/commit/c42431f7123a3f124a160a77df9401635933d036

I didn’t make a PR because I’m currently trying Plasma 6, started to work on the migration, but got stuck on the rewriting of the Configuration screen.

aricaldeira avatar Dec 11 '23 19:12 aricaldeira