summaryrefslogtreecommitdiff
path: root/artix/Makefile
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2026-04-26 10:05:13 +0200
committerNantha Sorubakanthan <nantha@mielota.com>2026-04-26 10:05:13 +0200
commite1541e4e9bad1c56cf6ed0143f1e514c5186e141 (patch)
treeb8f34ec9f3384603160e725e076dd9dc84f81d0a /artix/Makefile
parent7489c87f450c603db60f498451a2f6a6acbd567f (diff)
change colorscheme with make
Diffstat (limited to 'artix/Makefile')
-rw-r--r--artix/Makefile19
1 files changed, 18 insertions, 1 deletions
diff --git a/artix/Makefile b/artix/Makefile
index e30ece5..9164d82 100644
--- a/artix/Makefile
+++ b/artix/Makefile
@@ -1,4 +1,21 @@
-all: stow
+.PHONY = all config stow unstow artix lsp pac
+
+COLORSCHEME ?= slate
+
+all:
+ @echo COMMANDS:
+ @echo
+ @echo make stow
+ @echo make unstow
+ @echo COLORSCHEME=somesupportedcolorscheme make config
+
+config: unstow
+ set -a; \
+ . colorscheme/$(COLORSCHEME).env; \
+ set +a; \
+ envsubst < template/alacritty/alacritty.toml > home/.config/alacritty/alacritty.toml; \
+ envsubst < template/dunst/dunstrc > home/.config/dunst/dunstrc; \
+ envsubst < template/waybar/style.css > home/.config/waybar/style.css
stow:
mkdir -p $$HOME/.local/bin/ $$HOME/.local/share/ $$HOME/.config/