feat: bundle Pumpkin Light and paired appearance switching

This commit is contained in:
hl-valdemar
2026-10-23 11:36:08 +02:00
parent f414bf0170
commit 2b0cee20ba
4 changed files with 38 additions and 10 deletions
+3 -3
View File
@@ -70,18 +70,18 @@ install: default-state.toml config.toml
@launchctl bootout "gui/$$(id -u)/$(LAUNCH_AGENT_LABEL)" 2>/dev/null || true
launchctl bootstrap "gui/$$(id -u)" "$(LAUNCH_AGENT)"
install-schemes: schemes/base16/pumpkin.yaml
install-schemes: schemes/base16/pumpkin.yaml schemes/base16/pumpkin-light.yaml
@set -e; \
data_dir="$$(XDG_CONFIG_HOME="$(XDG_CONFIG_HOME)" tinty config --data-dir-path)"; \
mkdir -p "$$data_dir/custom-schemes/base16"; \
cp schemes/base16/pumpkin.yaml "$$data_dir/custom-schemes/base16/pumpkin.yaml"
cp schemes/base16/pumpkin.yaml schemes/base16/pumpkin-light.yaml "$$data_dir/custom-schemes/base16/"
uninstall:
@launchctl bootout "gui/$$(id -u)/$(LAUNCH_AGENT_LABEL)" 2>/dev/null || true
rm -f "$(BIN_DIR)/tint" "$(LAUNCH_AGENT)" "$(DARK_NOTIFY_LOG)"
@if command -v tinty >/dev/null; then \
data_dir="$$(XDG_CONFIG_HOME="$(XDG_CONFIG_HOME)" tinty config --data-dir-path)" && \
rm -f "$$data_dir/custom-schemes/base16/pumpkin.yaml"; \
rm -f "$$data_dir/custom-schemes/base16/pumpkin.yaml" "$$data_dir/custom-schemes/base16/pumpkin-light.yaml"; \
fi
@if [ -e "$(STATE_MARKER)" ]; then \
rm -f "$(CONFIG_DIR)/state.toml" "$(STATE_MARKER)"; \