Migrate more options to chezmoi
- Add boolPrompt for _hasGui_ to allow to run some scripts confitionally - Add script to setup catppuccin GTK theme
This commit is contained in:
parent
15eae692d7
commit
39d5da142c
1061 changed files with 26 additions and 103109 deletions
25
chezmoi/.chezmoiscripts/run_once_setup_gtk_theme.sh.tmpl
Normal file
25
chezmoi/.chezmoiscripts/run_once_setup_gtk_theme.sh.tmpl
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{{- if eq .hasGui true -}}
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ╭──────────────────────────────────────────────────────────╮
|
||||
# │ Setup Catppuccin GTK theme │
|
||||
# ╰──────────────────────────────────────────────────────────╯
|
||||
|
||||
set -e
|
||||
|
||||
tmp_dir="$(mktemp -d)"
|
||||
|
||||
cd "$tmp_dir"
|
||||
|
||||
git clone --recurse-submodules git@github.com:catppuccin/gtk.git
|
||||
cd gtk
|
||||
python -m venv venv
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
pip install -r requirements.txt
|
||||
|
||||
python install.py macchiato --link -a teal -d ~/.themes --tweaks normal
|
||||
|
||||
rm -rf "$tmp_dir"
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue