WhiteSur-gtk-theme/README.md

137 lines
5.9 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.
2020-12-26 11:11:31 +01:00
## Requirements
2020-12-26 16:56:11 +01:00
### GTK2 Murrine engine requirements.
2020-07-14 18:35:03 +02:00
2020-12-26 11:08:19 +01:00
- gtk-murrine-engine `Fedora/RedHat`
- gtk2-engines-murrine `Ubuntu/Mint/Debian`
- gtk-engine-murrine `Arch/Manjaro`
2020-07-14 18:35:03 +02:00
2020-12-26 16:56:11 +01:00
### GTK2 pixbuf engine requirements.
2020-07-14 18:35:03 +02:00
2020-12-26 11:08:19 +01:00
- gtk2-engines `Fedora/RedHat`
- gtk2-engines-pixbuf `Ubuntu/Mint/Debian`
- gtk-engines `Arch/Manjaro`
2020-07-14 18:35:03 +02:00
2020-12-26 16:56:11 +01:00
### Installed Dependency requirements.
2020-07-14 18:35:03 +02:00
2020-12-26 11:08:19 +01:00
- sassc
- optipng
- inkscape
- 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
## Installation
### From source
2020-12-26 16:56:11 +01:00
After all dependencies are installed, you can run:
```bash
./install.sh
```
2020-07-14 18:35:03 +02:00
#### Install tips
2020-12-26 16:56:11 +01:00
Usage: `./install.sh` **[OPTIONS...]**
2020-07-14 18:35:03 +02:00
| 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)|
2021-01-16 08:42:14 +01:00
|-a, --alt | Specify titlebutton variant(s) **[standard/alt/all]** (Default: standard variant)|
2021-01-16 06:03:58 +01:00
|-t, --theme | Specify primary theme color variant(s) **[default/blue/purple/pink/red/orange/yellow/green/grey/all]** (Default: MacOS blue)|
2020-12-29 09:15:26 +01:00
|-p, --panel | Change the panel opacty **[default/25/35/45/55/65/75/85]** (Default: 16)|
|-s, --size | Change the nautilus sidebar width size **[default/220/240/260/280]** (Default: 200px)|
2020-12-26 16:56:11 +01:00
|-i, --icon | Activities icon variant(s) **[standard/normal/gnome/ubuntu/arch/manjaro/fedora/debian/void]** (Default: standard variant)|
2020-07-14 18:35:03 +02:00
|-g, --gdm | Install GDM theme, you should run this with sudo!|
2020-12-26 16:56:11 +01:00
|-r, --remove | Remove theme, this will remove all installed themes!|
2020-12-29 14:24:03 +01:00
|-dialog, --dialog | Run terminal dialog, this will Run terminal dialog to install themes!|
2020-07-14 18:35:03 +02:00
|-h, --help | Show this help|
2021-01-15 14:26:31 +01:00
### <p align="center" > 1. Change primary theme color </p>
2021-01-16 05:53:17 +01:00
If you want to change primary theme color! (Default color is MacOS blue)
2021-01-15 15:10:01 +01:00
then you can run: `for example`
2020-12-26 16:56:11 +01:00
```bash
2021-01-16 06:03:58 +01:00
./install.sh -t green # Install green primary(accent) color version
2021-01-16 05:53:17 +01:00
2021-01-16 06:03:58 +01:00
./install.sh -c dark -o solid -t all # Install All primary(accent) color dark solid versions
2020-12-26 16:56:11 +01:00
```
2021-01-15 15:06:25 +01:00
![1](https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/install-tip-01.png)
2020-12-26 10:50:59 +01:00
2020-12-26 11:15:54 +01:00
### <p align="center" > 2. Install GDM theme </p>
2020-12-26 10:50:59 +01:00
If you want to install GDM theme!
2021-01-15 15:10:01 +01:00
then you can run: `for example`
2020-12-26 16:56:11 +01:00
```bash
2020-12-26 17:24:37 +01:00
sudo ./install.sh -g # install default dark version
2020-07-31 11:33:11 +02:00
2020-12-26 17:24:37 +01:00
sudo ./install.sh -g -c light # install light version
2020-12-26 10:50:59 +01:00
2020-12-26 17:24:37 +01:00
sudo ./install.sh -g -r # remove installed GDM theme
2020-12-26 16:56:11 +01:00
```
2021-01-15 15:06:25 +01:00
![2](https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/install-tip-02.png)
2020-12-26 10:50:59 +01:00
2020-12-26 11:15:54 +01:00
### <p align="center" > 3. Change nautilus sidebar width size </p>
2020-12-27 14:08:44 +01:00
If you want to change nautilus sidebar width size! (Default size is 200px)
2020-12-26 10:50:59 +01:00
(Nautilus cannot change the structure of the sidebar, so I added a picture as a background to achieve the effect of bigsur)
2021-01-15 14:26:31 +01:00
then you can run: 'for example'
2020-12-26 16:56:11 +01:00
```bash
2020-12-29 09:15:26 +01:00
./install.sh -s 260 # Install 260px width version
2020-12-26 16:56:11 +01:00
```
2021-01-15 15:06:25 +01:00
![3](https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/install-tip-03.png)
2020-12-07 07:44:28 +01:00
2020-12-26 11:15:54 +01:00
### <p align="center" > 4. Change gnome-shell activities icon </p>
2020-12-26 10:50:59 +01:00
If you want to change gnome-shell activities icon! (Default icon is Apple)
2021-01-15 15:10:01 +01:00
then you can run: `for example`
2020-12-26 16:56:11 +01:00
```bash
2021-01-15 15:10:01 +01:00
./install.sh -i manjaro # Install Manjaro icon
2020-12-26 16:56:11 +01:00
```
2021-01-15 15:06:25 +01:00
![4](https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/install-tip-04.png)
2020-12-07 07:44:28 +01:00
2021-01-16 05:45:10 +01:00
### Fix For Flatpak apps
Just run this:
```bash
sudo flatpak override --filesystem=~/.themes
```
### 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>
2020-12-26 16:56:11 +01:00
You can install the theme from the Snap Store, or by running:
2020-12-26 16:56:11 +01:00
```bash
sudo snap install whitesur-gtk-theme
```
2020-12-26 16:56:11 +01:00
To connect the theme to an app, run:
```bash
sudo snap connect [other snap]:gtk-3-themes whitesur-gtk-theme:gtk-3-themes
```
2020-12-26 16:56:11 +01:00
```bash
sudo snap connect [other snap]:icon-themes whitesur-gtk-theme:icon-themes
```
2020-12-26 16:56:11 +01:00
To connect the theme to all apps which have available plugs to gtk-common-themes, you can run:
```bash
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-31 11:36:44 +02:00
### Suggested themes
2020-12-26 16:56:11 +01:00
| Suggested themes | Links | Preview |
2020-07-31 11:51:35 +02:00
|:--------------------|:-------------|:-------------|
2021-01-15 15:06:25 +01:00
| Kde theme | [WhiteSur-kde](https://github.com/vinceliuice/WhiteSur-kde)| ![kde](https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/whitesur-kde-theme.png) |
| Icon theme | [WhiteSur-icon](https://github.com/vinceliuice/WhiteSur-icon-theme)| ![icon](https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/whitesur-icon-theme.png) |
| Wallpaper | [WhiteSur wallpaper](https://github.com/vinceliuice/WhiteSur-kde/tree/master/wallpaper)| ![wallpaper](https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/whitesur-wallpaper.png) |
| Firefox theme | [WhiteSur firefox theme](src/other/firefox)| ![firefox](https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/firefox-theme.png) |
| Dash to Dock theme | [WhiteSur dash-to-dock theme](src/other/dash-to-dock)| ![firefox](https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/dash-to-dock.png) |
2020-07-14 18:35:03 +02:00
2020-07-31 12:09:21 +02:00
## Theme Preview
2021-01-15 15:06:25 +01:00
![gtk](https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/preview-gtk.png)