Open haroldguz opened 5 years ago
To confirm my understanding of your use-case: You have your script running every second (or something frequent), but want to do a more expensive fetch to include more information only when the dialog is open.
Is that roughly correct?
Not sure if this is what OP asked for, but for anyone interested, appending | refresh=true
to the first line of the output makes it possible to refresh the widget by clicking on it in the panel. It's quite useful for weather fetching scripts and the like.
Hi
How can I execute a script or refresh the current one when I click on the title of the widget? In Gnome ARGOS, you can know if you were clicked with the condition: "if [" $ ARGOS_MENU_OPEN "==" true "]; then", is there something equivalent in KARGOS?