Compare commits

..

6 Commits

Author SHA1 Message Date
ghostx31
76cccfa215 chore: update colloid 2023-11-16 18:42:45 +05:30
ghostx31
9082969c1c docs: remove murrine-engine requirement 2023-10-05 20:12:40 +05:30
Pranav Nedungadi
f3faf6d9da Merge pull request #120 from iruzo/main
docs: add window manager guide
2023-10-05 15:51:12 +05:30
Pranav Nedungadi
761a075ca9 Merge pull request #121 from D3faIt/patch-1
docs: added cd, reworded text in README.md
2023-10-05 15:49:47 +05:30
D3faIt
23a48d8b81 fix README.md
Added `cd` to "using the script" instructions. Reworded some text
2023-09-23 13:39:28 +02:00
ruzo
03376d1003 docs: add window manager guide 2023-09-16 17:30:34 +02:00
3 changed files with 35 additions and 10 deletions

3
.gitignore vendored
View File

@@ -3,6 +3,9 @@ pkgs/
__pycache__ __pycache__
venv/ venv/
.venv .venv
bin/
lib*/
*.cfg
# Releases folder # Releases folder
releases releases

View File

@@ -25,7 +25,6 @@ This GTK theme is based on the [Colloid](https://github.com/vinceliuice/Colloid-
- GTK `>=3.20` - GTK `>=3.20`
- `gnome-themes-extra` (or `gnome-themes-standard`) - `gnome-themes-extra` (or `gnome-themes-standard`)
- Murrine engine
### Installation ### Installation
@@ -104,13 +103,36 @@ ln -sf "${THEME_DIR}/gtk-4.0/gtk-dark.css" "${HOME}/.config/gtk-4.0/gtk-dark.css
``` ```
3. For a more in depth tutorial see Hamza Algohary's tutorial on [It's FOSS](https://itsfoss.com/flatpak-app-apply-theme/) 3. For a more in depth tutorial see Hamza Algohary's tutorial on [It's FOSS](https://itsfoss.com/flatpak-app-apply-theme/)
### Handling GTK theme installation from window manager
1. Install unzip and curl.
2. Go to your window manager config file.
3. Add an entrance to the config file to be executed when your window manager is loaded.
- i3/sway example:
```
# catppuccin
set $ctp-version v0.6.1
exec_always if [ ! -e ~/.themes/Catppuccin-Frappe-Standard-Lavender-dark ]; then \
mkdir -p ~/.themes \
&& curl -L https://github.com/catppuccin/gtk/releases/download/$ctp-version/Catppuccin-Frappe-Standard-Lavender-dark.zip -o ~/.themes/catppuccin.zip \
&& unzip ~/.themes/catppuccin.zip -d ~/.themes/ \
&& rm -rf ~/.themes/catppuccin.zip; fi
```
>Note: The previous example execute that script every time i3/sway is reloaded.
4. Set the GTK_THEME environment variable:
```sh
export GTK_THEME='Catppuccin-Frappe-Standard-Lavender-dark:dark'
```
>Note: In order to update the theme's version, just change the variable `$ctp-version`.
### Using the script ### Using the script
**Note**: Ensure that you have at least Python version 3.10 installed **Note**: Ensure that you have at least Python version 3.10 installed
Clone the repository using Set up the installer using
```bash ```bash
git clone --recurse-submodules git@github.com:catppuccin/gtk.git git clone --recurse-submodules git@github.com:catppuccin/gtk.git
cd gtk
virtualenv -p python3 venv # to be created only once and only if you need a virtual env virtualenv -p python3 venv # to be created only once and only if you need a virtual env
source venv/bin/activate source venv/bin/activate
pip install -r requirements.txt pip install -r requirements.txt

Submodule colloid updated: b3bb0af34f...a6e500a0ba