24 lines
410 B
Bash
Executable File
24 lines
410 B
Bash
Executable File
#!/bin/bash
|
|
|
|
yad --title "WARNING" --question --text "
|
|
Continuing to reset the panel will undo any
|
|
xfce4-panel customizations you have made...
|
|
|
|
Are you <b><u>SURE</u></b> you wish to proceed ?" \
|
|
--width=450 --text-align=center --button="gtk-cancel:252" \
|
|
--button="gtk-ok:0" 2> /dev/null
|
|
|
|
foo=$?
|
|
|
|
if [[ $foo -eq 0 ]]; then
|
|
/usr/bin/reset-xfce4-panel
|
|
|
|
|
|
elif [[ $foo -eq 252 ]]; then
|
|
exit 0
|
|
|
|
else
|
|
exit 0
|
|
|
|
fi
|