Feature request for a new, hopefully simple plug-in. Sorry to file under the sample plugin, but Bugzilla wouldn't let me file an enhancement for a package that doesn't yet exist. The idea is simple. Create a plug-in that monitors /var/run/needs-restart, or whatever equivalent file there is for the installed OS. If the file exists, display an icon informing the user. If it doesn't, either don't display the icon or display a different one. The use case for this is in setting up automatic upgrades on a desktop system without configuring automatic reboots of said system, letting the user know that it's time for a reboot. Thanks!
I guess that's way too specific for plugin and can be accomplished with genmon-plugin. The script would be something like [[ -f /var/run/needs-restart ]] && echo "Reboot now!" || echo ""
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-sample-plugin/-/issues/2. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev