Remove -g flag from install script
This commit is contained in:
parent
d966b67813
commit
10ba594ec4
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue