This commit is contained in:
Vince 2021-04-10 15:23:57 +08:00
parent ceed403d40
commit 35ccf90c4c
2 changed files with 11 additions and 13 deletions

View file

@ -27,7 +27,7 @@ Don't worry, WhiteSur installer already provides all of those dependencies.
## Quick install
### Use the stable package
You can choose the compressed file (compiled in the stable version) and unzip it to the theme folder `~/.themes` under the user folder.
You can choose the compressed file [compiled in stable version](stable-release) and unzip it to the theme folder `~/.themes` under the user folder.
### compile from source
You can run `./install.sh` to install the default WhiteSur GTK theme pack which includes
@ -137,7 +137,7 @@ Example: `sudo ./tweaks.sh -g`
#### Change the background
Parameter: `--background` `-b`
Example:
Example:
```bash
sudo ./tweaks.sh -g -b "my picture.jpg" # use the custom background
@ -148,7 +148,7 @@ sudo ./tweaks.sh -g -b blank # make it blank
#### Make the background darker
Parameter: `--darken` `-D`
Example:
Example:
```bash
sudo ./tweaks.sh -g -D # darken the default background
@ -158,7 +158,7 @@ sudo ./tweaks.sh -g -D -b "wallpapers/snow.jpg" # darken the custom background
#### Don't blur the background
Parameter: `--no-blur` `-n`
Example:
Example:
```bash
sudo ./tweaks.sh -g -n # don't blur the default background

View file

@ -3,8 +3,6 @@
INKSCAPE="/usr/bin/inkscape"
OPTIPNG="/usr/bin/optipng"
ASRC_DIR=assets
# check command avalibility
has_command() {
"$1" -v $1 > /dev/null 2>&1
@ -26,20 +24,20 @@ if [ ! "$(which inkscape 2> /dev/null)" ]; then
fi
echo Rendering gtk-2.0 assets
cd $ASRC_DIR/gtk-2.0 && ./render-assets.sh
cd gtk-2.0 && ./render-assets.sh
echo Rendering gtk-3.0 assets
cd $ASRC_DIR/gtk-3.0 && ./render-thumbnails.sh
cd $ASRC_DIR/gtk-3.0/common-assets && ./render-assets.sh
cd $ASRC_DIR/gtk-3.0/windows-assets && ./render-assets.sh && ./render-alt-assets.sh
cd gtk-3.0 && ./render-thumbnails.sh
cd gtk-3.0/common-assets && ./render-assets.sh
cd gtk-3.0/windows-assets && ./render-assets.sh && ./render-alt-assets.sh
echo Rendering cinnamon thumbnails
cd $ASRC_DIR/cinnamon && ./render-thumbnails.sh
cd cinnamon && ./render-thumbnails.sh
echo Rendering metacity-1 assets
cd $ASRC_DIR/metacity-1 && ./render-assets.sh
cd metacity-1 && ./render-assets.sh
echo Rendering xfwm4 assets
cd $ASRC_DIR/xfwm4 && ./render-assets.sh
cd xfwm4 && ./render-assets.sh
exit 0