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:
|
OPTIONS:
|
||||||
-d, --dest DIR
|
-d, --dest DIR
|
||||||
Set destination directory. Default is '/home/vince/.themes'
|
Set destination directory. Default is '/home/[USER_NAME]/.themes'
|
||||||
|
|
||||||
-n, --name NAME
|
-n, --name NAME
|
||||||
Set theme name. Default is 'WhiteSur'
|
Set theme name. Default is 'WhiteSur'
|
||||||
@ -109,12 +109,12 @@ OPTIONS:
|
|||||||
4. -h, -panelheight [default|smaller|bigger]
|
4. -h, -panelheight [default|smaller|bigger]
|
||||||
Set gnome-shell panel height size. Default is 32px
|
Set gnome-shell panel height size. Default is 32px
|
||||||
|
|
||||||
5. -n, -normal
|
5. -sf, -smallerfont
|
||||||
Set gnome-shell show apps button style to normal. Default is BigSur
|
|
||||||
|
|
||||||
6. -s, -smaller
|
|
||||||
Set gnome-shell font size to smaller (10pt). Default is 11pt
|
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
|
--round, --roundedmaxwindow
|
||||||
Set maximized window to rounded. Default is square
|
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
|
Set 'WhiteSur' GDM/Flatpak theme accent color. Default is BigSur-like theme
|
||||||
|
|
||||||
-s, --scheme [standard|nord]
|
-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
|
Tweaks for GDM theme. options
|
||||||
@ -218,7 +218,7 @@ OPTIONS:
|
|||||||
|
|
||||||
4. -h, -panelheight [default|smaller|bigger] Set GDM panel height size Default is 32px
|
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
|
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 " 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 " 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 " 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 " 5. -sf, -smallerfont" "" " Set gnome-shell font size to smaller (10pt)" "Default is 11pt"
|
||||||
helpify " 6. -s, -smaller" "" " 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 "--round, --roundedmaxwindow" "" " Set maximized window to rounded" "Default is square"
|
||||||
helpify "--black, --blackfont" "" " Set panel font color to black" "Default is white"
|
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 ;;
|
check_param "${1}" "${1}" "${2}" "optional" "optional" "optional" && shift 2 || shift ;;
|
||||||
-h|-panelheight)
|
-h|-panelheight)
|
||||||
check_param "${1}" "${1}" "${2}" "optional" "optional" "optional" && shift 2 || shift ;;
|
check_param "${1}" "${1}" "${2}" "optional" "optional" "optional" && shift 2 || shift ;;
|
||||||
-n|-normal)
|
-sf|-smallerfont)
|
||||||
showapps_normal="true"; shift ;;
|
|
||||||
-s|-smaller)
|
|
||||||
smaller_font="true"; shift ;;
|
smaller_font="true"; shift ;;
|
||||||
|
normal|-normal)
|
||||||
|
showapps_normal="true"; shift ;;
|
||||||
esac
|
esac
|
||||||
done
|
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 "-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 "-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 "-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"
|
helpify "" "" "Tweaks for GDM theme" "options"
|
||||||
sec_title "-g, --gdm" "" " Without options default GDM theme will install..." ""
|
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 "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 "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 "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 "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" ""
|
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 ;;
|
check_param "${1}" "${1}" "${2}" "optional" "optional" "optional" && shift 2 || shift ;;
|
||||||
-h|-panelheight)
|
-h|-panelheight)
|
||||||
check_param "${1}" "${1}" "${2}" "optional" "optional" "optional" && shift 2 || shift ;;
|
check_param "${1}" "${1}" "${2}" "optional" "optional" "optional" && shift 2 || shift ;;
|
||||||
-s|-smaller)
|
-nd|-nodarken)
|
||||||
smaller_font="true"; shift ;;
|
|
||||||
-nd|--nodarken)
|
|
||||||
gdm_info ${1}
|
gdm_info ${1}
|
||||||
no_darken="true"; shift ;;
|
no_darken="true"; shift ;;
|
||||||
-nb|--noblur)
|
-nb|-noblur)
|
||||||
gdm_info ${1}
|
gdm_info ${1}
|
||||||
no_blur="true"; shift ;;
|
no_blur="true"; shift ;;
|
||||||
-nord|--nordcolor)
|
-sf|-smallerfont)
|
||||||
colorscheme="-nord"; shift ;;
|
smaller_font="true"; shift ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -254,6 +252,8 @@ while [[ $# -gt 0 ]]; do
|
|||||||
check_param "${1}" "${1}" "${2}" "not-at-all" "must" "must" && shift 2 || shift ;;
|
check_param "${1}" "${1}" "${2}" "not-at-all" "must" "must" && shift 2 || shift ;;
|
||||||
-t|--theme)
|
-t|--theme)
|
||||||
check_param "${1}" "${1}" "${2}" "not-at-all" "must" "must" && shift 2 || shift ;;
|
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}'."
|
prompt -e "ERROR: Unrecognized tweak option '${1}'."
|
||||||
has_any_error="true"; shift ;;
|
has_any_error="true"; shift ;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user