For a very convenient way to quickly access applications in the tray, use yad (in particular, yad --notification ). It allows you to dynamically change icons, set click event handlers, and create a custom context menu. For example:
yad --notification --command='echo hello world' --image=myicon.png
βHello worldβ will be displayed when pressed. Or:
yad --notification --command='echo hello world' --image=myicon.png --listen
It will read standard input, waiting for commands to change icons, change visibility, open menus, trigger actions, etc.
memeplex
source share