WhiteSur-gtk-theme/README.md

238 lines
6.9 KiB
Markdown
Raw Normal View History

2021-04-08 02:09:27 +02:00
<h1 align="center"> WhiteSur GTK Theme </h1>
<p align="center"> <img src="docs/macbook.png"/> </p>
2020-07-14 18:35:03 +02:00
2021-04-08 02:09:27 +02:00
<br>
2021-04-08 02:53:50 +02:00
<p align="center"> <b> A macOS BigSur-like theme for your GTK apps </b> </p>
2021-04-08 02:09:27 +02:00
<br>
2020-07-14 18:35:03 +02:00
2021-04-08 02:09:27 +02:00
# Installation is easy!
<details> <summary> Required dependencies info for nerds </summary>
2020-07-14 18:35:03 +02:00
2021-04-10 09:35:40 +02:00
### Gtk2 theme required
2021-04-10 09:26:38 +02:00
- gtk-murrine-engine `Fedora/RedHat`
- gtk2-engines-murrine `Ubuntu/Mint/Debian`
- gtk-engine-murrine `Arch/Manjaro`
2021-04-10 09:35:40 +02:00
### Install from source required
- sassc
2021-04-10 09:26:38 +02:00
- libglib2.0-dev-bin `ubuntu 20.04`
- libglib2.0-dev `ubuntu 18.04` `debian 10.03` `linux mint 19`
- libxml2-utils `ubuntu 18.04` `debian 10.03` `linux mint 19`
- glib2-devel `Fedora` `Redhat`
2020-07-14 18:35:03 +02:00
2021-04-10 09:35:40 +02:00
### Theme tweaks required
- imagemagick `(optional for Gdm theme tweaks)`
- dialog `(optional for installation in dialog mode)`
- optipng `(optional for asset rendering)`
- inkscape `(optional for asset rendering)`
2021-04-08 02:09:27 +02:00
Don't worry, WhiteSur installer already provides all of those dependencies.
</details>
2020-07-14 18:35:03 +02:00
2021-04-29 05:50:55 +02:00
<details> <summary> Recommended gnome-shell extensions </summary>
- [floating-dock](https://extensions.gnome.org/extension/3730/floating-dock) `Gnome-shell <= 3.38`
- [dash-to-dock](https://extensions.gnome.org/extension/307/dash-to-dock)
- [blur-my-shell](https://extensions.gnome.org/extension/3193/blur-my-shell)
</details>
2021-04-08 02:09:27 +02:00
## Quick install
2021-04-10 09:09:46 +02:00
### Use the stable package
2021-04-10 09:23:57 +02:00
You can choose the compressed file [compiled in stable version](stable-release) and unzip it to the theme folder `~/.themes` under the user folder.
2021-04-10 09:09:46 +02:00
2021-04-10 09:35:40 +02:00
### Compile from source
2021-04-08 02:09:27 +02:00
You can run `./install.sh` to install the default WhiteSur GTK theme pack which includes
GNOME Shell (Pantheon), Cinnamon, XFWM (XFCE), Metacity, and Plank themes.
2021-01-16 05:53:17 +01:00
2021-04-08 02:09:27 +02:00
## There's so many customizations you can do!
Usage: `./install.sh [OPTIONS...]`
2020-12-26 10:50:59 +01:00
2021-04-08 02:53:50 +02:00
### <p align="center"> <b> Change theme color and accent </b> </p>
2021-04-08 02:09:27 +02:00
<p align="center"> <img src="docs/colors-themes.png"/> </p>
2020-07-31 11:33:11 +02:00
2021-04-08 02:09:27 +02:00
#### Install theme color
Parameter: `--color` `-c` (repeatable)
2020-12-26 10:50:59 +01:00
2021-04-08 02:09:27 +02:00
Example:
2020-12-26 10:50:59 +01:00
2020-12-26 16:56:11 +01:00
```bash
2021-04-08 02:09:27 +02:00
./install.sh -c light # install light theme color only
./install.sh -c dark -c light # install dark and light theme colors
2020-12-26 16:56:11 +01:00
```
2020-12-07 07:44:28 +01:00
2021-04-08 02:09:27 +02:00
#### Install theme accent
Parameter: `--theme` `-t` (repeatable)
Example:
2020-12-07 07:44:28 +01:00
2021-01-23 09:12:24 +01:00
```bash
2021-04-08 02:09:27 +02:00
./install.sh -t red # install red theme accent only
./install.sh -t red -t green # install red and green theme accents
./install.sh -t all # install all available theme accents
2021-01-23 09:12:24 +01:00
```
2021-04-08 02:53:50 +02:00
### <p align="center"> <b> Change Nautilus sidebar minimum width </b> </p>
2021-04-08 02:09:27 +02:00
<p align="center"> <img src="docs/sidebars.png"/> </p>
2021-01-16 05:45:10 +01:00
2021-04-08 02:09:27 +02:00
Parameter: `--sidebar` `-s`
2021-01-16 05:45:10 +01:00
2021-04-08 02:09:27 +02:00
Example: `./install.sh -s 220`
2021-04-08 02:53:50 +02:00
### <p align="center"> <b> Change GNOME Shell 'Activities' icon </b> </p>
2021-04-08 02:09:27 +02:00
<p align="center"> <img src="docs/icons.png"/> </p>
Parameter: `--icon` `-i`
Example: `./install.sh -i fedora`
2021-04-08 02:53:50 +02:00
### <p align="center"> <b> Change Nautilus style </b> </p>
2021-04-08 02:09:27 +02:00
<p align="center"> <img src="docs/nautilus.png"/> </p>
Parameter: `--nautilus-style` `-N`
Example: `./install.sh -N mojave`
2021-04-08 02:53:50 +02:00
### <p align="center"> <b> Explore more customization features! </b> </p>
2021-04-08 02:09:27 +02:00
You can run `./install.sh -h` to explore more customization features we have
like changing panel opacity, theme opacity (normal and solid variant), window
control button variant, etc.
# Let's tweak!
Usage: `./tweaks.sh [OPTIONS...]`
## There's more themes you can try!
2021-04-08 02:53:50 +02:00
### <p align="center"> <b> Install and edit Firefox theme </b> </p>
2021-04-08 02:09:27 +02:00
<p align="center"> <img src="docs/firefox.png"/> </p>
#### Install Firefox theme
Parameter: `--firefox` `-f`
Example: `./tweaks.sh -f`
#### Edit Firefox theme
Parameter: `--edit-firefox` `-e`
Example:
2020-12-26 16:56:11 +01:00
```bash
2021-04-08 02:09:27 +02:00
./tweaks.sh -f -e # install and edit Firefox theme
./tweaks.sh -e -f # it's reversible!
./tweaks.sh -e # edit the installed Firefox theme
```
2021-04-08 02:09:27 +02:00
2021-04-08 02:53:50 +02:00
### <p align="center"> <b> Install and customize Dash to Dock theme </b> </p>
2021-04-08 02:09:27 +02:00
<p align="center"> <img src="docs/dash-to-dock.png"/> </p>
#### Install Dash to Dock theme
Parameter: `--dash-to-dock` `-d`
Example: `./tweaks.sh -d`
#### Change its color
Parameter: `--color` `-c`
Example: `./tweaks.sh -d -c dark`
2021-04-08 02:53:50 +02:00
### <p align="center"> <b> Install and customize GDM theme </b> </p>
2021-04-08 02:09:27 +02:00
<p align="center"> <img src="docs/gdm.png"/> </p>
#### Install GDM theme
Parameter: `--gdm` `-g` (requires to be ran as root)
Example: `sudo ./tweaks.sh -g`
#### Change the background
Parameter: `--background` `-b`
2021-04-10 09:23:57 +02:00
Example:
2021-04-08 02:09:27 +02:00
2020-12-26 16:56:11 +01:00
```bash
2021-04-08 02:09:27 +02:00
sudo ./tweaks.sh -g -b "my picture.jpg" # use the custom background
sudo ./tweaks.sh -g -b default # use the default background
sudo ./tweaks.sh -g -b blank # make it blank
```
2021-04-08 02:09:27 +02:00
#### Make the background darker
Parameter: `--darken` `-D`
2021-04-10 09:23:57 +02:00
Example:
2021-04-08 02:09:27 +02:00
2020-12-26 16:56:11 +01:00
```bash
2021-04-08 02:09:27 +02:00
sudo ./tweaks.sh -g -D # darken the default background
sudo ./tweaks.sh -g -D -b "wallpapers/snow.jpg" # darken the custom background
```
2021-04-08 02:09:27 +02:00
#### Don't blur the background
Parameter: `--no-blur` `-n`
2021-04-10 09:23:57 +02:00
Example:
2021-04-08 02:09:27 +02:00
2020-12-26 16:56:11 +01:00
```bash
2021-04-08 02:09:27 +02:00
sudo ./tweaks.sh -g -n # don't blur the default background
sudo ./tweaks.sh -g -n -b "wallpapers/rocks.jpg" # don't blur the custom background
```
2021-04-08 02:09:27 +02:00
#### Do more GDM customizations
2021-04-08 05:33:30 +02:00
You can do [the similar customization features in `./install.sh`](#theres-so-many-customizations-you-can-do)
like changing theme color (dark and light variant) and accent, GNOME Shell
'Activities' icon, etc. related to GDM. Run `./tweaks.sh -h` to explore!
2021-04-08 02:09:27 +02:00
## Using WhiteSur theme on app sandboxing platforms
<p align="center"> <img src="docs/sandboxes.png"/> </p>
2021-04-08 02:53:50 +02:00
### <p align="center"> <b> Connect WhiteSur theme to Flatpak </b> </p>
2021-04-08 02:09:27 +02:00
Parameter: `--flatpak` `-F`
Example: `./tweaks.sh -F`
2021-04-08 02:53:50 +02:00
### <p align="center"> <b> Connect WhiteSur theme to your Snap apps </b> </p>
Parameter: `--snap` `-s`
2021-04-08 02:09:27 +02:00
Example: `./tweaks.sh -s`
2021-04-08 02:09:27 +02:00
Note:
> This can only connect WhiteSur theme to your currently installed Snap
> apps. You may need to run this command again to connect to your newly installed
> Snap apps
# Other recommended stuffs
## Whitesur KDE Theme
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-kde">
2021-04-08 02:53:50 +02:00
<img src="docs/whitesur-kde-theme.png"/>
</a> </p>
2021-04-08 03:35:56 +02:00
<br>
2021-04-08 02:53:50 +02:00
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-kde">
<img src="docs/download-button.png"/>
2021-04-08 02:09:27 +02:00
</a> </p>
2021-04-08 03:35:56 +02:00
<br>
2021-04-08 02:09:27 +02:00
## Whitesur Icon Theme
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-icon-theme">
2021-04-08 02:53:50 +02:00
<img src="docs/whitesur-icon-theme.png"/>
</a> </p>
2021-04-08 03:35:56 +02:00
<br>
2021-04-08 02:53:50 +02:00
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-icon-theme">
<img src="docs/download-button.png"/>
2021-04-08 02:09:27 +02:00
</a> </p>
2021-04-08 03:35:56 +02:00
<br>
2021-04-08 02:09:27 +02:00
## Whitesur Wallpaper
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-kde/tree/master/wallpaper">
2021-04-08 02:53:50 +02:00
<img src="docs/whitesur-wallpaper.png"/>
</a> </p>
2021-04-08 03:35:56 +02:00
<br>
2021-04-08 02:53:50 +02:00
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-kde/tree/master/wallpaper">
<img src="docs/download-button.png"/>
2021-04-08 02:09:27 +02:00
</a> </p>
2021-04-08 03:35:56 +02:00
<br><br>
2021-04-08 02:53:50 +02:00
2021-04-08 02:09:27 +02:00
# Technical details and getting involved
Please go read [CONTRIBUTING.md](CONTRIBUTING.md) for more info