#!/bin/bash

_questionStr="This will reset any customizations to the GNOME application overview.\n\
This will also reorganize items installed by Ubuntu Studio into application folders.\
\n\nDo you wish to proceed?"

if zenity --question --text="${_questionStr}" --ellipsize; then
   gsettings reset-recursively org.gnome.desktop.app-folders
   pkexec dconf update
   zenity --info --text="Application overview has been reset" --ellipsize
fi