Commit 355190ed authored by Stefano Capitani's avatar Stefano Capitani

Upload gnome-reset script

parent 84e79fce
#!/bin/bash
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
set -x
manjaro_stuff=$(cat assets)
manjaro=/usr/share/icons/manjaro/maia/maia.svg
warning=/usr/share/icons/hicolor/40x40/status/aur-warning.png
yad --title "Manjaro Gnome Resetting" --on-top --center --window-icon=$manjaro --image=$warning --width=550 --fixed \
--text '
<span font="11">This utility perform you to set a Vanilla Gnome Session:</span>
<span font="11">We remove all Manjaro Gnome stuff like extensions and
configurations to help you to obtain a vanilla gnome session.</span>
<span foreground="red" font="11">Press OK to perform the action!</span>' --text-align=left;
if [[ $? == 0 ]]; then
yes | pkexec pamac remove ${manjaro_stuff} | yad --progress --title "Manjaro Gnome Resetting" --progress-text=Removing --pulsate --auto-close
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment