From 785a063f8eed05e62e6246b40207dce2e2720ed3 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Sat, 31 Aug 2024 17:02:33 +0800 Subject: [PATCH] Update install.sh --- install.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/install.sh b/install.sh index 08893a0a..d4779f87 100755 --- a/install.sh +++ b/install.sh @@ -41,8 +41,8 @@ usage() { helpify " 2. -b, -background" "[default|blank|IMAGE_PATH]" " Set gnome-shell background image" "Default is BigSur-like wallpaper" helpify " 3. -o, -opacity" "[$(IFS='|'; echo "${PANEL_OPACITY_VARIANTS[*]}")]" " Set gnome-shell panel transparency" "Default is 15%" helpify " 4. -h, -height" "[$(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. -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 "--round, --roundedmaxwindow" "" " Set maximized window to rounded" "Default is square" helpify "--right, --rightplacement" "" " Set Nautilus title button placement to right" "Default is left" @@ -97,18 +97,18 @@ while [[ $# -gt 0 ]]; do shift for variant in "${@}"; do case "${variant}" in - -i|--icon) + -i|-icon) activities_icon="true"; check_param "${1}" "${1}" "${2}" "must" "must" "must" && shift 2 || shift ;; - -b|--background) + -b|-background) check_param "${1}" "${1}" "${2}" "must" "must" "must" "false" && shift 2 || shift ;; - -o|--opacity) + -o|-opacity) check_param "${1}" "${1}" "${2}" "optional" "optional" "optional" && shift 2 || shift ;; - -h|--height) + -h|-height) check_param "${1}" "${1}" "${2}" "optional" "optional" "optional" && shift 2 || shift ;; - -n|--normal) + -n|-normal) showapps_normal="true"; shift ;; - -s|--smaller) + -s|-smaller) smaller_font="true"; shift ;; esac done