This commit is contained in:
Vince 2021-11-04 10:17:20 +08:00
parent 1588c1140b
commit f42f25ba28
2 changed files with 14 additions and 3 deletions

View file

@ -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 Run `./install.sh` to install the default WhiteSur GTK theme pack which includes
GNOME Shell (Pantheon), Cinnamon, XFWM (XFCE), Metacity, and Plank themes. 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! ## There's so many customizations you can do!
Usage: `./install.sh [OPTIONS...]` Usage: `./install.sh [OPTIONS...]`
@ -259,6 +269,7 @@ Example:
./tweaks.sh -f -e # install and edit Firefox theme ./tweaks.sh -f -e # install and edit Firefox theme
./tweaks.sh -e -f # it's reversible! ./tweaks.sh -e -f # it's reversible!
./tweaks.sh -e # edit the installed Firefox theme ./tweaks.sh -e # edit the installed Firefox theme
./tweaks.sh -f -r # remove installed Firefox theme
``` ```
#### Use Monterey style #### Use Monterey style

View file

@ -28,7 +28,7 @@ usage() {
helpify "-F, --flatpak" "" "Connect '${THEME_NAME}' theme to Flatpak" "" helpify "-F, --flatpak" "" "Connect '${THEME_NAME}' theme to Flatpak" ""
helpify "-s, --snap" "" "Connect '${THEME_NAME}' theme the currently installed snap apps" "" 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 "-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-darken" "" "Don't darken '${THEME_NAME}' GDM theme background image" ""
helpify "-n, --no-blur" "" "Don't blur '${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" 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 if [[ "${dash_to_dock}" == 'true' ]]; then
prompt -i "Installing '${name}' ${colors[0]} Dash to Dock theme... \n" prompt -i "Installing '${name}' ${colors[0]} Dash to Dock theme... \n"
install_dash_to_dock_theme install_dash_to_dock_theme
prompt -s "Done! '${name}' Dash to Dock theme has been installed." 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."; echo prompt -w "DASH TO DOCK: You may need to logout to take effect. \n"
fi fi
if [[ "${firefox}" == 'true' || "${edit_firefox}" == 'true' ]]; then if [[ "${firefox}" == 'true' || "${edit_firefox}" == 'true' ]]; then