From fd6b504492e4afb5ae0d345de4750cebd834bdf1 Mon Sep 17 00:00:00 2001 From: Felix Date: Mon, 30 Sep 2024 12:46:49 -0700 Subject: [PATCH 1/3] Edited tweaks.sh -h for Firefox 1) Removed "alt" option, which has been renamed "flat" (Fixed #1130) 2) Added an indication that "darker" and "adaptive" cannot be used together --- tweaks.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tweaks.sh b/tweaks.sh index 23671510..e6108797 100755 --- a/tweaks.sh +++ b/tweaks.sh @@ -44,14 +44,13 @@ usage() { helpify "--nord, --nordcolor" "" " Install '${THEME_NAME}' Nord ColorScheme themes" "" helpify "" "" "[Others].." "options" - sec_title "-f, --firefox" " [(monterey/flat)|alt|darker|adaptive]" " Without options default WhiteSur theme will install..." " Options:" + sec_title "-f, --firefox" " [(monterey|flat) (darker|adaptive)]" " Without options default WhiteSur theme will install..." " Options:" sec_helpify "1. monterey" " [3+3|3+4|3+5|4+3|4+4|4+5|5+3|5+4|5+5]" " Topbar buttons number: 'a+b'" " a: left side buttons number, b: right side buttons number" sec_helpify "2. flat" " Monterey alt version" "" " Flat round tabs..." - sec_helpify "3. alt" " Alt windows button version" "" " Alt window button style like gtk theme" - sec_helpify "4. darker" " Darker Firefox theme version" "" " Darker Firefox theme version" - sec_helpify "5. adaptive" " Adaptive color version" " You need install adaptive-tab-bar-colour plugin first" " https://addons.mozilla.org/firefox/addon/adaptive-tab-bar-colour/" + sec_helpify "3. darker" " Darker Firefox theme version" "" " Darker Firefox theme version" + sec_helpify "4. adaptive" " Adaptive color version" " You need install adaptive-tab-bar-colour plugin first" " https://addons.mozilla.org/firefox/addon/adaptive-tab-bar-colour/" - helpify "-e, --edit-firefox" "[(monterey/flat)|alt|darker|adaptive]" " Edit '${THEME_NAME}' theme for Firefox settings and also connect the theme to the current Firefox profiles" "" + helpify "-e, --edit-firefox" "[(monterey|flat) (darker|adaptive)]" " Edit '${THEME_NAME}' theme for Firefox settings and also connect the theme to the current Firefox profiles" "" helpify "-F, --flatpak" "Support options: [-o, -c, -t...]" " Connect '${THEME_NAME}' theme to Flatpak" "Without options will only install default themes" From 09924e72426518096149e7d59cf649a11657b40e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fernandes?= Date: Mon, 30 Sep 2024 21:59:46 +0100 Subject: [PATCH 2/3] Fixed help improvements --- README.md | 4 ++-- tweaks.sh | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ff5804aa..58d8449f 100644 --- a/README.md +++ b/README.md @@ -257,7 +257,7 @@ Usage: `./tweaks.sh [OPTIONS...]` [Others]... options - -f, --firefox [(monterey/flat)|alt|darker|adaptive] Without options default WhiteSur theme will install... Options: + -f, --firefox [(monterey|flat)|alt|(darker|adaptive)] Without options default WhiteSur theme will install... Options: 1. monterey [3+3|3+4|3+5|4+3|4+4|4+5|5+3|5+4|5+5] Topbar buttons number: 'a+b' a: left side buttons number, b: right side buttons number @@ -269,7 +269,7 @@ Usage: `./tweaks.sh [OPTIONS...]` 5. adaptive Adaptive color version You need install adaptive-tab-bar-colour plugin first https://addons.mozilla.org/firefox/addon/adaptive-tab-bar-colour/ - -e, --edit-firefox [(monterey/flat)|alt|darker|adaptive] + -e, --edit-firefox [(monterey|flat)|alt|(darker|adaptive)] Edit 'WhiteSur' theme for Firefox settings and also connect the theme to the current Firefox profiles. -F, --flatpak Support options: [-o, -c, -t...] diff --git a/tweaks.sh b/tweaks.sh index e6108797..14844ecb 100755 --- a/tweaks.sh +++ b/tweaks.sh @@ -44,13 +44,14 @@ usage() { helpify "--nord, --nordcolor" "" " Install '${THEME_NAME}' Nord ColorScheme themes" "" helpify "" "" "[Others].." "options" - sec_title "-f, --firefox" " [(monterey|flat) (darker|adaptive)]" " Without options default WhiteSur theme will install..." " Options:" + sec_title "-f, --firefox" " [(monterey|flat)|alt|(darker|adaptive)]" " Without options default WhiteSur theme will install..." " Options:" sec_helpify "1. monterey" " [3+3|3+4|3+5|4+3|4+4|4+5|5+3|5+4|5+5]" " Topbar buttons number: 'a+b'" " a: left side buttons number, b: right side buttons number" sec_helpify "2. flat" " Monterey alt version" "" " Flat round tabs..." - sec_helpify "3. darker" " Darker Firefox theme version" "" " Darker Firefox theme version" - sec_helpify "4. adaptive" " Adaptive color version" " You need install adaptive-tab-bar-colour plugin first" " https://addons.mozilla.org/firefox/addon/adaptive-tab-bar-colour/" + sec_helpify "3. alt" " Alt windows button version" "" " Alt windows button version" + sec_helpify "4. darker" " Darker Firefox theme version" "" " Darker Firefox theme version" + sec_helpify "5. adaptive" " Adaptive color version" " You need install adaptive-tab-bar-colour plugin first" " https://addons.mozilla.org/firefox/addon/adaptive-tab-bar-colour/" - helpify "-e, --edit-firefox" "[(monterey|flat) (darker|adaptive)]" " Edit '${THEME_NAME}' theme for Firefox settings and also connect the theme to the current Firefox profiles" "" + helpify "-e, --edit-firefox" "[(monterey|flat)|alt|(darker|adaptive)]" " Edit '${THEME_NAME}' theme for Firefox settings and also connect the theme to the current Firefox profiles" "" helpify "-F, --flatpak" "Support options: [-o, -c, -t...]" " Connect '${THEME_NAME}' theme to Flatpak" "Without options will only install default themes" From 067c574576ee1c9e1127c3354e1ec3d28be7c4b8 Mon Sep 17 00:00:00 2001 From: Felix Date: Mon, 30 Sep 2024 17:51:00 -0700 Subject: [PATCH 3/3] Fixed tweaks help for Firefox alt --- tweaks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweaks.sh b/tweaks.sh index 14844ecb..9492c195 100755 --- a/tweaks.sh +++ b/tweaks.sh @@ -47,7 +47,7 @@ usage() { sec_title "-f, --firefox" " [(monterey|flat)|alt|(darker|adaptive)]" " Without options default WhiteSur theme will install..." " Options:" sec_helpify "1. monterey" " [3+3|3+4|3+5|4+3|4+4|4+5|5+3|5+4|5+5]" " Topbar buttons number: 'a+b'" " a: left side buttons number, b: right side buttons number" sec_helpify "2. flat" " Monterey alt version" "" " Flat round tabs..." - sec_helpify "3. alt" " Alt windows button version" "" " Alt windows button version" + sec_helpify "3. alt" " Alt windows button version" "" " Alt windows button style like gtk theme" sec_helpify "4. darker" " Darker Firefox theme version" "" " Darker Firefox theme version" sec_helpify "5. adaptive" " Adaptive color version" " You need install adaptive-tab-bar-colour plugin first" " https://addons.mozilla.org/firefox/addon/adaptive-tab-bar-colour/"