Open kerry-s opened 2 years ago
example code:
EXIT=$(zenity --info --title="Exit" --text=" Exit Options " --icon-name="system-shutdown" --no-wrap --ok-label="Cancel" --extra-button="Shutdown" --extra-button="Reboot" --class="Exit" --name="Exit" --window-icon="system-shutdown")
if [ "$EXIT" = "Shutdown" ]; then systemctl poweroff fi if [ "$EXIT" = "Reboot" ]; then systemctl reboot fi
exit 0
i use zenity to create gui apps, how to add to ignore list?