From e1541e4e9bad1c56cf6ed0143f1e514c5186e141 Mon Sep 17 00:00:00 2001 From: Nantha Sorubakanthan Date: Sun, 26 Apr 2026 10:05:13 +0200 Subject: change colorscheme with make --- artix/Makefile | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'artix/Makefile') 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/ -- cgit v1.2.3