This commit is contained in:
vinceliuice 2022-10-27 19:54:57 +08:00
parent 7d1874ece5
commit 05a604d79f
3 changed files with 95 additions and 87 deletions

179
README.md
View file

@ -58,77 +58,82 @@ Usage: `./install.sh [OPTIONS...]`
<details> <summary> Options (click to open) </summary> <details> <summary> Options (click to open) </summary>
```bash ```bash
-d, --dest DIR
Set destination directory. Default is '$HOME/.themes'
-n, --name NAME -d, --dest DIR
Set theme name. Default is 'WhiteSur' Set destination directory. Default is '/home/vince/.themes'
-o, --opacity [normal|solid] -n, --name NAME
Set theme opacity variants. Repeatable. Default is all variants Set theme name. Default is 'WhiteSur'
-c, --color [Light|Dark] -o, --opacity [normal|solid]
Set theme color variants. Repeatable. Default is all variants Set theme opacity variants. Repeatable. Default is all variants
-a, --alt [normal|alt|all] -c, --color [Light|Dark]
Set window control buttons variant. Repeatable. Default is 'normal' Set theme color variants. Repeatable. Default is all variants
-t, --theme [default|blue|purple|pink|red|orange|yellow|green|grey|all] -a, --alt [normal|alt|all]
Set theme accent color. Repeatable. Default is BigSur-like theme Set window control buttons variant. Repeatable. Default is 'normal'
-p, --panel-opacity [default|30|45|60|75] -t, --theme [default|blue|purple|pink|red|orange|yellow|green|grey|all]
Set panel transparency. Default is 15% Set theme accent color. Repeatable. Default is BigSur-like theme
-P, --panel-size [default|smaller|bigger] -p, --panel-opacity [default|30|45|60|75]
Set Gnome shell panel height size. Default is 32px Set panel transparency. Default is 15%
-s, --size [default|180|220|240|260|280] -P, --panel-size [default|smaller|bigger]
Set Nautilus sidebar minimum width. Default is 200px Set Gnome shell panel height size. Default is 32px
-i, --icon [standard|simple|gnome|ubuntu|tux|arch|manjaro|fedora|debian|void|opensuse|popos|mxlinux|zorin] -s, --size [default|180|220|240|260|280]
Set 'Activities' icon. Default is 'standard' Set Nautilus sidebar minimum width. Default is 200px
-b, --background [default|blank|IMAGE_PATH] -i, --icon [standard|simple|gnome|ubuntu|tux|arch|manjaro|fedora|debian|void|opensuse|popos|mxlinux|zorin]
Set gnome-shell background image. Default is BigSur-like wallpaper Set 'Activities' icon. Default is 'standard'
-m, --monterey -b, --background [default|blank|IMAGE_PATH]
Set to MacOS Monterey style. Set gnome-shell background image. Default is BigSur-like wallpaper
-N, --nautilus-style [stable|normal|mojave|glassy] -m, --monterey
Set Nautilus style. Default is BigSur-like style (stabled sidebar) Set to MacOS Monterey style.
-HD, --highdefinition -N, --nautilus-style [stable|normal|mojave|glassy]
Set to High Definition size. Default is laptop size Set Nautilus style. Default is BigSur-like style (stabled sidebar)
--normal, --normalshowapps -l, --libadwaita
Set gnome-shell show apps button style to normal. Default is bigsur Install theme into gtk4.0 config for libadwaita. Default is dark version
--round, --roundedmaxwindow -HD, --highdefinition
Set maximized window to rounded. Default is square Set to High Definition size. Default is laptop size
--right, --rightplacement --normal, --normalshowapps
Set Nautilus titlebutton placement to right. Default is left Set gnome-shell show apps button style to normal. Default is bigsur
--black, --blackfont --round, --roundedmaxwindow
Set panel font color to black. Default is white Set maximized window to rounded. Default is square
--darker, --darkercolor --right, --rightplacement
Install darker 'WhiteSur' dark themes. Set Nautilus titlebutton placement to right. Default is left
--nord, --nordcolor --black, --blackfont
Install 'WhiteSur' Nord ColorScheme themes. Set panel font color to black. Default is white
--dialog, --interactive --darker, --darkercolor
Run this installer interactively, with dialogs. Install darker 'WhiteSur' dark themes.
--silent-mode --nord, --nordcolor
Meant for developers: ignore any confirm prompt and params become more strict. Install 'WhiteSur' Nord ColorScheme themes.
-r, --remove, -u, --uninstall --dialog, --interactive
Remove all installed WhiteSur themes. Run this installer interactively, with dialogs.
--silent-mode
Meant for developers: ignore any confirm prompt and params become more strict.
-r, --remove, -u, --uninstall
Remove all installed WhiteSur themes.
-h, --help
Show this help.
-h, --help
Show this help.
``` ```
</details> </details>
@ -196,62 +201,64 @@ Usage: `./tweaks.sh [OPTIONS...]`
<details> <summary> Options </summary> <details> <summary> Options </summary>
```bash ```bash
-o, --opacity [normal|solid]
Set 'WhiteSur' GDM theme opacity variants. Default is 'normal'
-c, --color [Light|Dark] -g, --gdm [default|x2]
Set 'WhiteSur' GDM and Dash to Dock theme color variants. Default is 'light' Install 'WhiteSur' theme for GDM (scaling: 100%/200%, default is 100%). Requires to run this shell as root
-t, --theme [default|blue|purple|pink|red|orange|yellow|green|grey] -o, --opacity [normal|solid]
Set 'WhiteSur' GDM theme accent color. Default is BigSur-like theme Set 'WhiteSur' GDM theme opacity variants. Default is 'normal'
-g, --gdm [default|x2] -c, --color [Light|Dark]
Install 'WhiteSur' theme for GDM (scaling: 100%/200%, default is 100%). Requires to run this shell as root Set 'WhiteSur' GDM and Dash to Dock theme color variants. Default is 'light'
-N, --no-darken -t, --theme [default|blue|purple|pink|red|orange|yellow|green|grey]
Don't darken 'WhiteSur' GDM theme background image. Set 'WhiteSur' GDM theme accent color. Default is BigSur-like theme
-n, --no-blur -N, --no-darken
Don't blur 'WhiteSur' GDM theme background image. Don't darken 'WhiteSur' GDM theme background image.
-b, --background [default|blank|IMAGE_PATH] -n, --no-blur
Set 'WhiteSur' GDM theme background image. Default is BigSur-like wallpaper Don't blur 'WhiteSur' GDM theme background image.
-p, --panel-opacity [default|30|45|60|75] -b, --background [default|blank|IMAGE_PATH]
Set 'WhiteSur' GDM (GNOME Shell) theme panel transparency. Default is 15% Set 'WhiteSur' GDM theme background image. Default is BigSur-like wallpaper
-P, --panel-size [default|smaller|bigger] -p, --panel-opacity [default|30|45|60|75]
Set 'WhiteSur' Gnome shell panel height size. Default is 32px Set 'WhiteSur' GDM (GNOME Shell) theme panel transparency. Default is 15%
-i, --icon [standard|simple|gnome|ubuntu|tux|arch|manjaro|fedora|debian|void|opensuse|popos|mxlinux|zorin] -P, --panel-size [default|smaller|bigger]
Set 'WhiteSur' GDM (GNOME Shell) 'Activities' icon. Default is 'standard' Set 'WhiteSur' Gnome shell panel height size. Default is 32px
--nord, --nordcolor -i, --icon [standard|simple|gnome|ubuntu|tux|arch|manjaro|fedora|debian|void|opensuse|popos|mxlinux|zorin]
Install 'WhiteSur' Nord ColorScheme themes. Set 'WhiteSur' GDM (GNOME Shell) 'Activities' icon. Default is 'standard'
-f, --firefox [default|monterey|alt] --nord, --nordcolor
Install 'WhiteSur|Monterey|Alt' theme for Firefox and connect it to the current Firefox profiles. Default is WhiteSur Install 'WhiteSur' Nord ColorScheme themes.
-e, --edit-firefox -f, --firefox [default|monterey|alt]
Edit 'WhiteSur' theme for Firefox settings and also connect the theme to the current Firefox profiles. Install 'WhiteSur|Monterey|Alt' theme for Firefox and connect it to the current Firefox profiles. Default is WhiteSur
-F, --flatpak -e, --edit-firefox
Connect 'WhiteSur' theme to Flatpak. Edit 'WhiteSur' theme for Firefox settings and also connect the theme to the current Firefox profiles.
-s, --snap -F, --flatpak
Connect 'WhiteSur' theme the currently installed snap apps. Connect 'WhiteSur' theme to Flatpak.
-d, --dash-to-dock -s, --snap
Fixed Dash to Dock theme issue. Connect 'WhiteSur' theme the currently installed snap apps.
-r, --remove, --revert -d, --dash-to-dock
Revert to the original themes, do the opposite things of install and connect. Fixed Dash to Dock theme issue.
--silent-mode -r, --remove, --revert
Meant for developers: ignore any confirm prompt and params become more strict. Revert to the original themes, do the opposite things of install and connect.
--silent-mode
Meant for developers: ignore any confirm prompt and params become more strict.
-h, --help
Show this help.
-h, --help
Show this help.
``` ```
</details> </details>

View file

@ -36,6 +36,7 @@ usage() {
helpify "-b, --background" "[default|blank|IMAGE_PATH]" "Set gnome-shell background image" "Default is BigSur-like wallpaper" helpify "-b, --background" "[default|blank|IMAGE_PATH]" "Set gnome-shell background image" "Default is BigSur-like wallpaper"
helpify "-m, --monterey" "" "Set to MacOS Monterey style" "" helpify "-m, --monterey" "" "Set to MacOS Monterey style" ""
helpify "-N, --nautilus-style" "[$(IFS='|'; echo "${NAUTILUS_STYLE_VARIANTS[*]}")]" "Set Nautilus style" "Default is BigSur-like style (stabled sidebar)" helpify "-N, --nautilus-style" "[$(IFS='|'; echo "${NAUTILUS_STYLE_VARIANTS[*]}")]" "Set Nautilus style" "Default is BigSur-like style (stabled sidebar)"
helpify "-l, --libadwaita" "" "Install theme into gtk4.0 config for libadwaita" "Default is dark version"
helpify "-HD, --highdefinition" "" "Set to High Definition size" "Default is laptop size" helpify "-HD, --highdefinition" "" "Set to High Definition size" "Default is laptop size"
helpify "--normal, --normalshowapps" "" "Set gnome-shell show apps button style to normal" "Default is bigsur" helpify "--normal, --normalshowapps" "" "Set gnome-shell show apps button style to normal" "Default is bigsur"
helpify "--round, --roundedmaxwindow" "" "Set maximized window to rounded" "Default is square" helpify "--round, --roundedmaxwindow" "" "Set maximized window to rounded" "Default is square"

View file

@ -23,10 +23,10 @@ usage() {
# Please specify their default value manually, some of them are come from _variables.scss # Please specify their default value manually, some of them are come from _variables.scss
# You also have to check and update them regurally # You also have to check and update them regurally
helpify_title helpify_title
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 "-o, --opacity" "[$(IFS='|'; echo "${OPACITY_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM theme opacity variants" "Default is 'normal'" helpify "-o, --opacity" "[$(IFS='|'; echo "${OPACITY_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM theme opacity variants" "Default is 'normal'"
helpify "-c, --color" "[$(IFS='|'; echo "${COLOR_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM and Dash to Dock theme color variants" "Default is 'light'" helpify "-c, --color" "[$(IFS='|'; echo "${COLOR_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM and Dash to Dock theme color variants" "Default is 'light'"
helpify "-t, --theme" "[$(IFS='|'; echo "${THEME_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM theme accent color" "Default is BigSur-like theme" helpify "-t, --theme" "[$(IFS='|'; echo "${THEME_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM theme accent color" "Default is BigSur-like theme"
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 "-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"