2024-04-19 22:50:31 +00:00
|
|
|
PYTHON="<python-binary>"
|
|
|
|
BASH=/usr/bin/bash
|
|
|
|
UNAME=$(shell uname)
|
|
|
|
|
|
|
|
ifeq ($(UNAME), Darwin)
|
|
|
|
PYTHON=python3
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
## ------------------ docs ------------------ ##
|
|
|
|
docs-serve:
|
|
|
|
cd docs/_build/html && python -m http.server 9091
|
|
|
|
|
|
|
|
docs-build:
|
|
|
|
make -C docs/ html
|
|
|
|
|
|
|
|
docs-clean:
|
|
|
|
make -C docs/ clean
|
|
|
|
## ------------------------------------------ ##
|
|
|
|
|
2024-05-18 22:35:10 +00:00
|
|
|
|
2024-04-19 22:50:31 +00:00
|
|
|
## ------------------ sync ------------------ ##
|
|
|
|
sync:
|
|
|
|
$(BASH) autoconf/sync.sh
|
|
|
|
## ------------------------------------------ ##
|
|
|
|
|
2024-05-18 22:35:10 +00:00
|
|
|
|
2024-04-19 22:50:31 +00:00
|
|
|
## ----------------- themes ----------------- ##
|
|
|
|
gen-tone4:
|
|
|
|
$(PYTHON) autoconf/gen_theme.py -a kitty -p tone4
|
|
|
|
|
|
|
|
set-tone4-light:
|
|
|
|
$(PYTHON) autoconf/set_theme.py -p tone4 -s light -a "*"
|
|
|
|
|
|
|
|
set-tone4-dark:
|
|
|
|
$(PYTHON) autoconf/set_theme.py -p tone4 -s dark -a "*"
|
|
|
|
## ------------------------------------------ ##
|