mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2025-06-06 07:23:02 +00:00
update #1151
This commit is contained in:
parent
5d09b0610b
commit
d6643b7012
14
README.md
14
README.md
@ -62,7 +62,7 @@ Usage: `./install.sh [OPTIONS...]`
|
||||
|
||||
OPTIONS:
|
||||
-d, --dest DIR
|
||||
Set destination directory. Default is '/home/vince/.themes'
|
||||
Set destination directory. Default is '/home/[USER_NAME]/.themes'
|
||||
|
||||
-n, --name NAME
|
||||
Set theme name. Default is 'WhiteSur'
|
||||
@ -109,12 +109,12 @@ OPTIONS:
|
||||
4. -h, -panelheight [default|smaller|bigger]
|
||||
Set gnome-shell panel height size. Default is 32px
|
||||
|
||||
5. -n, -normal
|
||||
Set gnome-shell show apps button style to normal. Default is BigSur
|
||||
|
||||
6. -s, -smaller
|
||||
5. -sf, -smallerfont
|
||||
Set gnome-shell font size to smaller (10pt). Default is 11pt
|
||||
|
||||
6. normal, -normal
|
||||
Set gnome-shell show apps button style to normal. Default is BigSur
|
||||
|
||||
--round, --roundedmaxwindow
|
||||
Set maximized window to rounded. Default is square
|
||||
|
||||
@ -203,7 +203,7 @@ OPTIONS:
|
||||
Set 'WhiteSur' GDM/Flatpak theme accent color. Default is BigSur-like theme
|
||||
|
||||
-s, --scheme [standard|nord]
|
||||
Set theme colorscheme style. Default is 'standard'
|
||||
Set 'WhiteSur' GDM/Flatpak theme colorscheme style. Default is 'standard'
|
||||
|
||||
|
||||
Tweaks for GDM theme. options
|
||||
@ -218,7 +218,7 @@ OPTIONS:
|
||||
|
||||
4. -h, -panelheight [default|smaller|bigger] Set GDM panel height size Default is 32px
|
||||
|
||||
5. -s, -smaller Set GDM font size to smaller (10pt) Default is 11pt
|
||||
5. -sf, -smallerfont Set GDM font size to smaller (10pt) Default is 11pt
|
||||
|
||||
6. -nd, -nodarken Don't darken 'WhiteSur' GDM theme background image
|
||||
|
||||
|
10
install.sh
10
install.sh
@ -42,8 +42,8 @@ usage() {
|
||||
helpify " 2. -b, -background" "[default|blank|IMAGE_PATH]" " Set gnome-shell background image" "Default is BigSur-like wallpaper"
|
||||
helpify " 3. -p, -panelopacity" "[$(IFS='|'; echo "${PANEL_OPACITY_VARIANTS[*]}")]" " Set gnome-shell panel transparency" "Default is 15%"
|
||||
helpify " 4. -h, -panelheight" "[$(IFS='|'; echo "${PANEL_SIZE_VARIANTS[*]}")]" " Set gnome-shell panel height size" "Default is 32px"
|
||||
helpify " 5. -n, -normal" "" " Set gnome-shell show apps button style to normal" "Default is BigSur"
|
||||
helpify " 6. -s, -smaller" "" " Set gnome-shell font size to smaller (10pt)" "Default is 11pt"
|
||||
helpify " 5. -sf, -smallerfont" "" " Set gnome-shell font size to smaller (10pt)" "Default is 11pt"
|
||||
helpify " 6. normal, -normal" "" " Set gnome-shell show apps button style to normal" "Default is BigSur"
|
||||
|
||||
helpify "--round, --roundedmaxwindow" "" " Set maximized window to rounded" "Default is square"
|
||||
helpify "--black, --blackfont" "" " Set panel font color to black" "Default is white"
|
||||
@ -107,10 +107,10 @@ while [[ $# -gt 0 ]]; do
|
||||
check_param "${1}" "${1}" "${2}" "optional" "optional" "optional" && shift 2 || shift ;;
|
||||
-h|-panelheight)
|
||||
check_param "${1}" "${1}" "${2}" "optional" "optional" "optional" && shift 2 || shift ;;
|
||||
-n|-normal)
|
||||
showapps_normal="true"; shift ;;
|
||||
-s|-smaller)
|
||||
-sf|-smallerfont)
|
||||
smaller_font="true"; shift ;;
|
||||
normal|-normal)
|
||||
showapps_normal="true"; shift ;;
|
||||
esac
|
||||
done
|
||||
;;
|
||||
|
16
tweaks.sh
16
tweaks.sh
@ -33,7 +33,7 @@ usage() {
|
||||
helpify "-o, --opacity" "[$(IFS='|'; echo "${OPACITY_VARIANTS[*]}")]" " Set '${THEME_NAME}' GDM/Flatpak theme opacity variants" "Default is 'normal'"
|
||||
helpify "-c, --color" "[$(IFS='|'; echo "${COMMAND_COLOR_VARIANTS[*]}")]" " Set '${THEME_NAME}' GDM/Flatpak theme color variants" "Default is 'light'"
|
||||
helpify "-t, --theme" "[$(IFS='|'; echo "${THEME_VARIANTS[*]}")]" " Set '${THEME_NAME}' GDM/Flatpak theme accent color" "Default is BigSur-like theme"
|
||||
helpify "-s, --scheme" "[$(IFS='|'; echo "${SCHEME_VARIANTS[*]}")]" " Set theme colorscheme style" "Default is 'standard'"
|
||||
helpify "-s, --scheme" "[$(IFS='|'; echo "${SCHEME_VARIANTS[*]}")]" " Set '${THEME_NAME}' GDM/Flatpak theme colorscheme style" "Default is 'standard'"
|
||||
|
||||
helpify "" "" "Tweaks for GDM theme" "options"
|
||||
sec_title "-g, --gdm" "" " Without options default GDM theme will install..." ""
|
||||
@ -41,7 +41,7 @@ usage() {
|
||||
sec_helpify "2. -b, -background" "[default|blank|IMAGE_PATH]" " Set GDM background image" "Default is BigSur-like wallpaper"
|
||||
sec_helpify "3. -p, -panelopacity" "[$(IFS='|'; echo "${PANEL_OPACITY_VARIANTS[*]}")]" " Set GDM panel transparency" "Default is 15%"
|
||||
sec_helpify "4. -h, -panelheight" "[$(IFS='|'; echo "${PANEL_SIZE_VARIANTS[*]}")]" " Set GDM panel height size" "Default is 32px"
|
||||
sec_helpify "5. -s, -smaller" "" " Set GDM font size to smaller (10pt)" "Default is 11pt"
|
||||
sec_helpify "5. -sf, -smallerfont" "" " Set GDM font size to smaller (10pt)" "Default is 11pt"
|
||||
sec_helpify "6. -nd, -nodarken" "" " Don't darken '${THEME_NAME}' GDM theme background image" ""
|
||||
sec_helpify "7. -nb, -noblur" "" " Don't blur '${THEME_NAME}' GDM theme background image" ""
|
||||
|
||||
@ -209,16 +209,14 @@ while [[ $# -gt 0 ]]; do
|
||||
check_param "${1}" "${1}" "${2}" "optional" "optional" "optional" && shift 2 || shift ;;
|
||||
-h|-panelheight)
|
||||
check_param "${1}" "${1}" "${2}" "optional" "optional" "optional" && shift 2 || shift ;;
|
||||
-s|-smaller)
|
||||
smaller_font="true"; shift ;;
|
||||
-nd|--nodarken)
|
||||
-nd|-nodarken)
|
||||
gdm_info ${1}
|
||||
no_darken="true"; shift ;;
|
||||
-nb|--noblur)
|
||||
-nb|-noblur)
|
||||
gdm_info ${1}
|
||||
no_blur="true"; shift ;;
|
||||
-nord|--nordcolor)
|
||||
colorscheme="-nord"; shift ;;
|
||||
-sf|-smallerfont)
|
||||
smaller_font="true"; shift ;;
|
||||
esac
|
||||
done
|
||||
|
||||
@ -254,6 +252,8 @@ while [[ $# -gt 0 ]]; do
|
||||
check_param "${1}" "${1}" "${2}" "not-at-all" "must" "must" && shift 2 || shift ;;
|
||||
-t|--theme)
|
||||
check_param "${1}" "${1}" "${2}" "not-at-all" "must" "must" && shift 2 || shift ;;
|
||||
-s|--scheme)
|
||||
check_param "${1}" "${1}" "${2}" "not-at-all" "must" "must" && shift 2 || shift ;;
|
||||
*)
|
||||
prompt -e "ERROR: Unrecognized tweak option '${1}'."
|
||||
has_any_error="true"; shift ;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user