Use the --warning option. Диалоговое окно предупреждения

Use the --warning option to create a warning dialog.

The following example script shows how to create a warning dialog:

#!/bin/bash zenity --warning \ --text="Disconnect the power cable to avoid electrical shock."
Пример диалогового окна предупреждения Zenity warning dialog example