mirror of
https://codeberg.org/hyperreal/bin
synced 2024-11-01 16:43:08 +01:00
23 lines
629 B
Plaintext
23 lines
629 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
CAT_DIR="${HOME}/repos/github.com/catppuccin"
|
||
|
|
||
|
if ! test -d "${CAT_DIR}"; then
|
||
|
mkdir -p "${CAT_DIR}"
|
||
|
fi
|
||
|
|
||
|
if ! test -d "${CAT_DIR}/gtk"; then
|
||
|
git clone --recurse-submodules https://github.com/catppuccin/gtk.git "${CAT_DIR}/gtk"
|
||
|
fi
|
||
|
|
||
|
if ! test -d "${CAT_DIR}/gtk/venv"; then
|
||
|
python -m venv "${CAT_DIR}/gtk/venv"
|
||
|
fi
|
||
|
|
||
|
"${CAT_DIR}/gtk/venv/bin/pip" install -r "${CAT_DIR}/gtk/requirements.txt"
|
||
|
|
||
|
cd "${CAT_DIR}/gtk" || exit
|
||
|
|
||
|
"${CAT_DIR}"/gtk/venv/bin/python -c \
|
||
|
'from scripts.create_theme import create_theme; create_theme(["mocha"], ["red"], "/home/jas/.themes", link=True, recreate_assets=True)'
|