WhiteSur-gtk-theme/README.md

132 lines
4.6 KiB
Markdown
Raw Normal View History

2020-07-14 18:35:03 +02:00
<img src="https://github.com/vinceliuice/Sierra-gtk-theme/blob/imgs/logo.png" alt="Logo" align="right" /> WhiteSur Gtk Theme
======
WhiteSur is a MacOS Big Sur like theme for GTK 3, GTK 2 and Gnome-Shell which supports GTK 3 and GTK 2 based desktop environments like Gnome, Pantheon, XFCE, Mate, etc.
## Info
### GTK+ 3.20 or later
### GTK2 engines requirements
2020-07-14 18:35:03 +02:00
- GTK2 engine Murrine 0.98.1.1 or later.
- GTK2 pixbuf engine or the gtk(2)-engines package.
Fedora/RedHat distros:
dnf install gtk-murrine-engine gtk2-engines
Ubuntu/Mint/Debian distros:
sudo apt install gtk2-engines-murrine gtk2-engines-pixbuf
ArchLinux:
pacman -S gtk-engine-murrine gtk-engines
### Installation Depends requirement
2020-07-14 18:35:03 +02:00
- sassc.
- optipng.
- inkscape.
2020-11-12 12:25:51 +01:00
- libglib2.0-dev-bin `ubuntu 20.04`
2020-07-14 18:35:03 +02:00
- 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
Fedora/RedHat distros:
dnf install sassc optipng inkscape glib2-devel
2020-07-31 11:33:11 +02:00
2020-07-14 18:35:03 +02:00
Ubuntu/Mint/Debian distros:
2020-11-12 12:25:51 +01:00
sudo apt install sassc optipng inkscape libglib2.0-dev-bin
2020-07-14 18:35:03 +02:00
Debian 10:
sudo apt install sassc optipng inkscape libcanberra-gtk-module libglib2.0-dev libxml2-utils
ArchLinux:
pacman -S sassc optipng inkscape
Other:
1. Search for the dependencies in your distribution's repository or install the dependencies from source.
2. For CentOS 8 users: the `sassc` package doesn't exist in EPEL 8 or any other main repositories. Download the RPM manually from older EPEL repositories or build from source.
2020-07-14 18:35:03 +02:00
## Installation
### From source
After all the dependencies are installed, you can Run
2020-07-14 18:35:03 +02:00
./install.sh
2020-12-03 06:28:18 +01:00
### On Snapcraft
<a href="https://snapcraft.io/whitesur-gtk-theme">
<img alt="Get it from the Snap Store" src="https://snapcraft.io/static/images/badges/en/snap-store-black.svg" />
</a>
You can install the theme from the Snap Store оr by running:
```
sudo snap install whitesur-gtk-theme
```
To connect the theme to an app run:
```
sudo snap connect [other snap]:gtk-3-themes whitesur-gtk-theme:gtk-3-themes
```
```
sudo snap connect [other snap]:icon-themes whitesur-gtk-theme:icon-themes
```
To connect the theme to all apps which have available plugs to gtk-common-themes you can run:
```
for i in $(snap connections | grep gtk-common-themes:gtk-3-themes | awk '{print $2}'); do sudo snap connect $i whitesur-gtk-theme:gtk-3-themes; done
```
2020-07-14 18:35:03 +02:00
#### Install tips
Usage: `./Install` **[OPTIONS...]**
| OPTIONS: | |
|:--------------------|:-------------|
|-d, --dest | Specify theme destination directory (Default: $HOME/.themes)|
|-n, --name | Specify theme name (Default: WhiteSur)|
|-c, --color | Specify theme color variant(s) **[light/dark]** (Default: All variants)|
|-o, --opacity | Specify theme opacity variant(s) **[standard/solid]** (Default: All variants)|
|-a, --alt | Specify titlebutton variant(s) **[standard/alt]** (Default: All variants)|
2020-08-18 15:44:43 +02:00
|-t, --trans | Run a dialg to change the panel transparency (Default: 85%)|
2020-07-31 11:33:11 +02:00
|-s, --size | Run a dialg to change the nautilus sidebar width size (Default: 200px)|
2020-07-14 18:35:03 +02:00
|-i, --icon | activities icon variant(s) **[standard/normal/gnome/ubuntu/arch/manjaro/fedora/debian/void]** (Default: standard variant)|
|-g, --gdm | Install GDM theme, you should run this with sudo!|
2020-12-07 07:44:28 +01:00
|-r, --remove | remove theme, this will remove all installed themes!|
2020-07-14 18:35:03 +02:00
|-h, --help | Show this help|
2020-07-31 11:33:11 +02:00
If you want to change the nautilus sidebar width size, then you can run:
./install.sh -s
2020-08-18 15:44:43 +02:00
If you want to change the panel transparency, then you can run:
./install.sh -t
2020-12-07 07:44:28 +01:00
If you want to remove all installed themes, then you can run:
./install.sh -r
If you want to remove installed gdm theme, then you can run:
./install.sh -r -g
2020-07-31 11:36:44 +02:00
### Suggested themes
2020-07-31 11:51:35 +02:00
| Suggested themes | links | preview |
|:--------------------|:-------------|:-------------|
2020-07-31 11:54:56 +02:00
| Kde theme | [WhiteSur-kde](https://github.com/vinceliuice/WhiteSur-kde)| ![kde](pictures/whitesur-kde-theme.png) |
| Icon theme | [WhiteSur-icon](https://github.com/vinceliuice/WhiteSur-icon-theme)| ![icon](pictures/whitesur-icon-theme.png) |
2020-07-31 11:51:35 +02:00
| Wallpaper | [WhiteSur wallpaper](https://github.com/vinceliuice/WhiteSur-kde/tree/master/wallpaper)| ![wallpaper](pictures/whitesur-wallpaper.png) |
2020-07-31 12:12:00 +02:00
| Firefox theme | [WhiteSur firefox theme](src/other/firefox)| ![firefox](pictures/firefox-theme.png) |
2020-12-18 12:09:45 +01:00
| Dash to Dock theme | [WhiteSur dash-to-dock theme](src/other/dash-to-dock)| ![firefox](pictures/dash-to-dock.png) |
2020-07-14 18:35:03 +02:00
2020-07-31 12:09:21 +02:00
## Theme Preview
2020-07-31 11:51:35 +02:00
![gtk](pictures/preview-gtk.png)