Fausto-Korpsvart / Tokyonight-GTK-Theme

A GTK theme based on the Tokyo Night colour palette.
https://www.pling.com/p/1681315/
GNU General Public License v3.0
470 stars 30 forks source link

Tokyonight GTK Theme

A GTK theme based on the colours of Folke's great theme: Tokyonight for Neovim, the VinceLiuice's awesome: Magnetic GTK theme and the creativity of Gusbemacbe's: Suru Plus Icon Theme.
Great to combine in your Gnome Desktop Environment and TWMs like: XmonadWM, AwesomeWM, BSPWM, etc... With support also for the desktop environments Cinnamon and XFCE.
You can check Reddit: r/unixporn to get some ideas.

Tokyo Night

Installing Themes

Before installing the themes, make sure to install the following necessary packages: sassc murrine-engine and gnome-themes-extra packages for the correct rendering of themes.

Here are some commands to install on some distributions:

 sudo dnf install gtk-murrine-engine sassc
 sudo zypper install gtk2-engine-murrine sassc
sudo pacman -S gtk-engine-murrine sassc
sudo apt install gtk2-engines-murrine sassc

The themes work on versions 40 to 46 of the GNOME D.E. just follow the steps below for installation:

Applying themes from zip files

Applying themes to Flatpak applications

sudo flatpak override --filesystem=$HOME/.themes
sudo flatpak override --filesystem=$HOME/.icons
flatpak override --user --filesystem=xdg-config/gtk-4.0
sudo flatpak override --filesystem=xdg-config/gtk-4.0
Alternative Flatpak Theming: stylepak

Manual Installation

Base theme default instructions

Run the following commands in the terminal:

./install.sh

Tip: ./install.sh allows the following options:

-d, --dest DIR          Specify destination directory (Default: ~/.themes)
-n, --name NAME         Specify theme name (Default: Tokyonight)
-t, --theme VARIANT...  Specify theme color variant(s) [default|purple|pink|red|orange|yellow|green|teal|grey|all] (Default: blue)
-c, --color VARIANT...  Specify color variant(s) [light|dark] (Default: All variants)
-s, --size VARIANT...   Specify size variant [standard|compact] (Default: standard variant)

-l, --libadwaita        Link installed gtk-4.0 theme to config folder for all libadwaita app use this theme

-r, --remove,
-u, --uninstall         Uninstall/Remove installed themes or links

--tweaks                Specify versions for tweaks
                        1. [moon|storm]        Moon|Storm| ColorSchemes version
                        2. black               Blackness color version
                        3. float               Floating gnome-shell panel style
                        4. outline             Windows with 2px outline style

-h, --help              Show help

For more information, run: ./install.sh --help

Clarifying some doubts

This is just to clarify doubts about the abbreviations of the Themes, as many found the names confusing.

Abbreviation example Explanation of abbreviations
Theme-Name-B-MB Theme with Border decoration and macOS Buttons in Windows
Theme-Name-B-LB Theme with Border decoration and Legacy Buttons in Windows
Theme-Name-B-GS Theme with Border decoration for Gnome Shell
Theme-Name-BL-MB Theme Borderless decoration and macOS Buttons in Windows
Theme-Name-BL-LB Theme Borderless decoration and Legacy Buttons in Windows
Theme-Name-BL-GS Theme Borderless decoration for Gnome Shell

Looking for other themes with Neovim colour schemes?

Neovim Colorschemes for GTK Source Package
Catppuccin GTK Theme Github Pling
Everforest GTK Theme Github Pling
Gruvbox Material GTK Theme Github Pling
Kanagawa GTK Theme Github Pling
Material Deep Ocean GTK Theme Github Pling
Material Palenight GTK Theme Github Pling
Nightfox Dusk GTK Theme Github Pling
Rosé Pine GTK Theme Github Pling
Tokyonight GTK Theme Github Pling

Special thanks

Thanks to @f1yn for the solution to the active and inactive borders in the new version of Cinnamon which no longer uses Metacity.

Thanks to @telometto for the alternative for the application of themes in Flatpak.

Support

\<ENJOY IT!! :nerd_face:/>