You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Orchis-theme/README.md

114 lines
3.5 KiB
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Orchis theme
Orchis is a [Material Design](https://material.io) theme for GNOME/GTK based desktop environments.
Based on nana-4 -- [materia-theme](https://github.com/nana-4/materia-theme)
## Requirements
- GTK `>=3.20`
- `gnome-themes-extra` (or `gnome-themes-standard`)
- Murrine engine — The package name depends on the distro.
- `gtk-engine-murrine` on Arch Linux
- `gtk-murrine-engine` on Fedora
- `gtk2-engine-murrine` on openSUSE
- `gtk2-engines-murrine` on Debian, Ubuntu, etc.
- `sassc` — build dependency
## Installation
### Manual Installation
Run the following commands in the terminal:
```sh
./install.sh
```
> Tip: `./install.sh` allows the following options:
```
OPTIONS:
-d, --dest DIR Specify destination directory (Default: /home/vince/.themes)
-n, --name NAME Specify theme name (Default: Orchis)
-t, --theme VARIANT Specify theme color variant(s) [default|purple|pink|red|orange|yellow|green|grey|all] (Default: blue)
-c, --color VARIANT Specify color variant(s) [standard|light|dark] (Default: All variants)s)
-s, --size VARIANT Specify size variant [standard|compact] (Default: All variants)
-l, --libadwaita Link installed Orchis gtk-4.0 theme to config folder for all libadwaita app use Orchis theme
-r, --remove,
-u, --uninstall Uninstall/Remove installed themes
--tweaks Specify versions for tweaks [solid|compact|black|primary] (Options can mix)
1. solid: no transparency panel variant
2. compact: no floating panel variant
3. black: full black variant
4. primary: Change radio icon checked color to primary theme color (Default is Green)
--shell install gnome-shell version [38|40|42]
1. 38: gnome-shell version < 40.0
2. 40: gnome-shell version = 40.0
3. 42: gnome-shell version = 42.0
-h, --help Show help
```
> For more information, run: `./install.sh -h`
![1](images/tweaks-view.png?raw=true)
### Flatpak Installation
Automatically install your host GTK+ 3.0 theme as a Flatpak. Use this:
- [stylepak](https://github.com/refi64/stylepak)
Also if you want to use this theme on a GTK+ 4.0 flatpak app, you can give the permission to access this file
local:
```
flatpak override --user --filesystem=xdg-config/gtk-4.0
```
global:
```
flatpak override --filesystem=xdg-config/gtk-4.0
```
### On Snapcraft
<a href="https://snapcraft.io/orchis-themes">
<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 orchis-themes
```
To connect the theme to an app run:
```
sudo snap connect [other snap]:gtk-3-themes orchis-themes:gtk-3-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 orchis-themes:gtk-3-themes; done
```
### Firefox theme
[Install Firefox theme](src/firefox)
![Firefox-theme](src/firefox/preview01.png?raw=true)
![Firefox-theme](src/firefox/preview02.png?raw=true)
### Fix for Dash to panel
Go to `src/gnome-shell/extensions/dash-to-panel` [dash-to-panel](src/gnome-shell/extensions/dash-to-panel) run the following commands in the terminal:
```sh
./install.sh
```
## Preview
![1](images/preview.jpg?raw=true)