diff --git a/README.md b/README.md index 8771440..66965ca 100644 --- a/README.md +++ b/README.md @@ -46,10 +46,6 @@ This theme is supposed to work with current supported Firefox releases: - Set custom profile name, for example `e0j6yb0p.default-nightly` - Default: standard default profile -- `-g` *optional* - - Auto enable GNOMISH extra features `hide-single-tab.css` & `matching-autocomplete-width.css` - - ### Manual installation 1. Go to `about:support` in Firefox. diff --git a/scripts/install.sh b/scripts/install.sh index 81e23ca..8cc6614 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -3,7 +3,6 @@ THEMEDIRECTORY=$(cd `dirname $0` && cd .. && pwd) FIREFOXFOLDER=~/.mozilla/firefox PROFILENAME="" -GNOMISHEXTRAS=false # Determine firefox profile being currently used programatically # credits: https://stackoverflow.com/questions/57526217/ @@ -18,7 +17,6 @@ while getopts 'f:p:g' flag; do case "${flag}" in f) FIREFOXFOLDER="${OPTARG}" ;; p) PROFILENAME="${OPTARG}" ;; - g) GNOMISHEXTRAS=true ;; esac done @@ -53,13 +51,6 @@ cp -R $THEMEDIRECTORY $PWD # Import this theme at the beginning of the CSS files. sed -i '1s/^/@import "firefox-gnome-theme\/userChrome.css";\n/' userChrome.css -# If GNOMISH extras enabled, import it in customChrome.css. -if [ "$GNOMISHEXTRAS" = true ] ; then - echo "Enabling GNOMISH extra features" - [[ -s customChrome.css ]] || echo >> firefox-gnome-theme/customChrome.css - sed -i '1s/^/@import "theme\/hide-single-tab.css";\n/' firefox-gnome-theme/customChrome.css -fi - cd .. # Symlink user.js to firefox-gnome-theme one.