Catppuccin for GTK
This GTK theme is based on the Colloid theme made by Vinceliuice
- GTK
>=3.20
gnome-themes-extra
(orgnome-themes-standard
)- Murrine engine
- Download and extract the theme zip from releases or you can install the theme from the AUR.
- Move the theme folder to ".themes" in your home directory. (~/.themes) (Skip this step if you are using the AUR package)
- Select the downloaded theme via your desktop specific tweaks application (gnome-tweaks on Gnome 3+).
We have 4 AUR packages for all the 4 flavours of the theme:
With your favourite AUR helper, install them:
yay -S catppuccin-gtk-theme-mocha catppuccin-gtk-theme-macchiato catppuccin-gtk-theme-frappe catppuccin-gtk-theme-latte
The catppuccin-gtk nixpkg packages all four of the flavours.
The default flavour is frappe
and the default accent is blue
. To override them use:
pkgs.catppuccin-gtk.override {
accents = ["pink"] # You can specify multiple here
variant = "macchiato"
}
To use it in home-manager:
{
pkgs,
config,
...
}: {
config.gtk = {
enable = true;
theme = {
name = "Catppuccin-Macchiato-Standard-Pink-Dark";
package = pkgs.catppuccin-gtk.override {
accents = ["pink"];
variant = "macchiato";
};
};
};
}
To theme gtk-4.0 applications you have to manually symlink the ~/.config/gtk-4.0/
to the themes folder. Use the following commands
mkdir -p "${HOME}/.config/gtk-4.0"
ln -sf "${THEME_DIR}/gtk-4.0/assets" "${HOME}/.config/gtk-4.0/assets"
ln -sf "${THEME_DIR}/gtk-4.0/gtk.css" "${HOME}/.config/gtk-4.0/gtk.css"
ln -sf "${THEME_DIR}/gtk-4.0/gtk-dark.css" "${HOME}/.config/gtk-4.0/gtk-dark.css"
- To give your Flatpaks access to your themes folder run:
sudo flatpak override --filesystem=$HOME/.themes
- To set the theme for all Flatpaks, replace
##theme##
with the name of the theme you want to use and run this command:
sudo flatpak override --env=GTK_THEME=##theme##
- For a more in depth tutorial see Hamza Algohary's tutorial on It's Foss
Note: Ensure that you have atleast python version 3.10 installed
Clone the repository using
git clone --recurse-submodules [email protected]:catppuccin/gtk.git
virtualenv -p python3 venv # to be created only once and only if you need a virtual env
source venv/bin/activate
pip install -r requirements.txt
To check out the install script, run
python install.py --help
Tip:
python install.py --help
allows the following options:
Compulsory field Specify color variant(s) [mocha|frappe|macchiato|latte|all]
-d, --dest DIR Specify destination directory (Default: ~/.themes)
-n, --name NAME Specify theme name (Default: Colloid)
-a, --accent VARIANT... Specify theme color variant(s) [rosewater|flamingo|pink|mauve|red|maroon|peach|yellow|green|teal|sky|
sapphire|blue|lavender|all] (Default: blue)
-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
--zip Zips up the finally produced themes.
--tweaks Specify versions for tweaks [black|rimless|normal]
1. black: Blackness color version
2. rimless: Remove the 1px border about windows and menus
3. normal: Normal windows button style (titlebuttons: max/min/close)
-h, --help Show help
You can install any theme like the following example
python install.py mocha -a sky --tweaks rimless -d ~/.themes
You can build all possible variations of the theme possible using the following command and it will install it to releases folder
python install.py all -a all
A few important notes to keep in mind
recolor.py
handles all changes that needs to be done to colloid to ensure it generated catppuccin colors. If vinceliuice changes anything in his theme in future, that is where you must changevar.py
includes all different variables that you can tinker around as per your personal requirements.create_theme.py
consists of a wrapper that will recolor the colloid theme, install it as per the args provided and rename it accordingly.
Current maintainers
Contributions
- rubyowo - for working on the build and CI script
Previous maintainer(s)
Copyright © 2021-present Catppuccin Org