所以,我有这个脚本:
#!/bin/sh
#InputBox1Test
title=$(zenity --entry --text 'Type what you want your Notification Title to Say!' --title 'Notification')
text=$(zenity --entry --text 'Type what you want your Notification body to Say!' --title 'Notification')
DISPLAY=:0.0 notify-send "$title" "$text"
此脚本会打开一个 zenity 窗口,并引导您生成通知。当你按下取消时,我想让它退出。我怎么做?