v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
654 stars 58 forks source link

Terminated message #197

Open jdpedersen1 opened 1 year ago

jdpedersen1 commented 1 year ago

Update Script issue

Displays "terminated" when current instance of yad is killed

I have an update script that is set up as a cronjob that runs every hour that uses yad to display an icon in my systray. My issue is when my script runs and it kills the current icon to display a new icon i get the word "terminated" displayed in my tray next to the new icon. How do i keep yad from displaying "terminated" when my script kills the current instance?

v1cont commented 1 year ago

don't kill yad. use --listen option and named pipe for set new icon with "icon:..." command from cron script

jdpedersen1 commented 1 year ago

Thanks for the reply, I attempted to use the --listen flag at one point but it did not seem to work as I wanted it to, obviously that was my issue and I was most likely doing something wrong, I will give it another go, thank you again.