Peppermint-Classic-Build-Files/PeppermintOS-Classic-i386/config/includes.chroot/usr/bin/peppermint-panel-reset

24 lines
410 B
Plaintext
Raw Normal View History

#!/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