From f42f25ba28f0437b78478d99535d98661443c63b Mon Sep 17 00:00:00 2001 From: Vince Date: Thu, 4 Nov 2021 10:17:20 +0800 Subject: [PATCH] update --- README.md | 11 +++++++++++ tweaks.sh | 6 +++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 17d19ec..b964ce5 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,16 @@ Don't worry, WhiteSur installer already provides all of those dependencies. Run `./install.sh` to install the default WhiteSur GTK theme pack which includes GNOME Shell (Pantheon), Cinnamon, XFWM (XFCE), Metacity, and Plank themes. +## Quick uninstall + +- uninstall Gtk themes: `./install.sh -r` +- uninstall GDM theme: `sudo ./tweaks.sh -g -r` +- uninstall Firefox theme: `./tweaks.sh -f -r` + +- uninstall Dash-to-dock theme: `./tweaks.sh -d -r` +- uninstall Flatpak Gtk themes: `./tweaks.sh -F -r` +- uninstall Snap Gtk themes: `./tweaks.sh -s -r` + ## There's so many customizations you can do! Usage: `./install.sh [OPTIONS...]` @@ -259,6 +269,7 @@ Example: ./tweaks.sh -f -e # install and edit Firefox theme ./tweaks.sh -e -f # it's reversible! ./tweaks.sh -e # edit the installed Firefox theme +./tweaks.sh -f -r # remove installed Firefox theme ``` #### Use Monterey style diff --git a/tweaks.sh b/tweaks.sh index 6cdbd58..77e5a93 100755 --- a/tweaks.sh +++ b/tweaks.sh @@ -28,7 +28,7 @@ usage() { helpify "-F, --flatpak" "" "Connect '${THEME_NAME}' theme to Flatpak" "" helpify "-s, --snap" "" "Connect '${THEME_NAME}' theme the currently installed snap apps" "" helpify "-g, --gdm" "[default|x2]" "Install '${THEME_NAME}' theme for GDM (scaling: 100%/200%, default is 100%)" "Requires to run this shell as root" - helpify "-d, --dash-to-dock" "" "Install '${THEME_NAME}' theme for Dash to Dock when Gnome < 40 or install fixed version on Gnome > 40" "" + helpify "-d, --dash-to-dock" "" "Fixed Dash to Dock theme issue" "" helpify "-N, --no-darken" "" "Don't darken '${THEME_NAME}' GDM theme background image" "" helpify "-n, --no-blur" "" "Don't blur '${THEME_NAME}' GDM theme background image" "" helpify "-b, --background" "[default|blank|IMAGE_PATH]" "Set '${THEME_NAME}' GDM theme background image" "Default is BigSur-like wallpaper" @@ -234,8 +234,8 @@ else if [[ "${dash_to_dock}" == 'true' ]]; then prompt -i "Installing '${name}' ${colors[0]} Dash to Dock theme... \n" install_dash_to_dock_theme - prompt -s "Done! '${name}' Dash to Dock theme has been installed." - prompt -w "DASH TO DOCK: You may need to logout to take effect."; echo + prompt -s "Done! '${name}' Dash to Dock theme has been installed. \n" + prompt -w "DASH TO DOCK: You may need to logout to take effect. \n" fi if [[ "${firefox}" == 'true' || "${edit_firefox}" == 'true' ]]; then