update
This commit is contained in:
parent
ceed403d40
commit
35ccf90c4c
@ -27,7 +27,7 @@ Don't worry, WhiteSur installer already provides all of those dependencies.
|
|||||||
## Quick install
|
## Quick install
|
||||||
|
|
||||||
### Use the stable package
|
### 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
|
### compile from source
|
||||||
You can run `./install.sh` to install the default WhiteSur GTK theme pack which includes
|
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
|
#### Change the background
|
||||||
Parameter: `--background` `-b`
|
Parameter: `--background` `-b`
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo ./tweaks.sh -g -b "my picture.jpg" # use the custom background
|
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
|
#### Make the background darker
|
||||||
Parameter: `--darken` `-D`
|
Parameter: `--darken` `-D`
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo ./tweaks.sh -g -D # darken the default background
|
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
|
#### Don't blur the background
|
||||||
Parameter: `--no-blur` `-n`
|
Parameter: `--no-blur` `-n`
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo ./tweaks.sh -g -n # don't blur the default background
|
sudo ./tweaks.sh -g -n # don't blur the default background
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
INKSCAPE="/usr/bin/inkscape"
|
INKSCAPE="/usr/bin/inkscape"
|
||||||
OPTIPNG="/usr/bin/optipng"
|
OPTIPNG="/usr/bin/optipng"
|
||||||
|
|
||||||
ASRC_DIR=assets
|
|
||||||
|
|
||||||
# check command avalibility
|
# check command avalibility
|
||||||
has_command() {
|
has_command() {
|
||||||
"$1" -v $1 > /dev/null 2>&1
|
"$1" -v $1 > /dev/null 2>&1
|
||||||
@ -26,20 +24,20 @@ if [ ! "$(which inkscape 2> /dev/null)" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo Rendering gtk-2.0 assets
|
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
|
echo Rendering gtk-3.0 assets
|
||||||
cd $ASRC_DIR/gtk-3.0 && ./render-thumbnails.sh
|
cd gtk-3.0 && ./render-thumbnails.sh
|
||||||
cd $ASRC_DIR/gtk-3.0/common-assets && ./render-assets.sh
|
cd 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/windows-assets && ./render-assets.sh && ./render-alt-assets.sh
|
||||||
|
|
||||||
echo Rendering cinnamon thumbnails
|
echo Rendering cinnamon thumbnails
|
||||||
cd $ASRC_DIR/cinnamon && ./render-thumbnails.sh
|
cd cinnamon && ./render-thumbnails.sh
|
||||||
|
|
||||||
echo Rendering metacity-1 assets
|
echo Rendering metacity-1 assets
|
||||||
cd $ASRC_DIR/metacity-1 && ./render-assets.sh
|
cd metacity-1 && ./render-assets.sh
|
||||||
|
|
||||||
echo Rendering xfwm4 assets
|
echo Rendering xfwm4 assets
|
||||||
cd $ASRC_DIR/xfwm4 && ./render-assets.sh
|
cd xfwm4 && ./render-assets.sh
|
||||||
|
|
||||||
exit 0
|
exit 0
|
Loading…
x
Reference in New Issue
Block a user