From 91800bc9f737caa21868bc89fa14ed54d4def710 Mon Sep 17 00:00:00 2001 From: mjkwiatkowski Date: Sun, 1 Feb 2026 15:00:19 +0100 Subject: Initial commit --- Makefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bbb7b6e --- /dev/null +++ b/Makefile @@ -0,0 +1,28 @@ +# Configuration +NAME = dotfiles + +.PHONY: all tar clean init +SOURCES=dunst rofi waybar hypr wallpapers kitty Kvantum + +tar: $(NAME).tar.gz + +$(NAME).tar.gz: $(SOURCES) + tar -cvf $(NAME).tar.gz $(SOURCES) + +all: + for dir in $(SOURCES) ; do \ + ln -s $(PWD)/$$dir $(XDG_CONFIG_HOME)/$$dir; done + +realclean: + @echo "Deleting ..." + for dir in $(SOURCES) ; do \ + trash -f $(XDG_CONFIG_HOME)/$$dir; done + +init: + @echo -e "*.tar.gz" > .gitignore + git init + git add . + git commit -S -m "Initial commit" + +clean: + trash -f $(NAME).tar.gz -- cgit v1.2.3