2023-08-08 18:13:49 +00:00
|
|
|
FILES = .bash_aliases .bashrc .inputrc .profile .vimrc .xsessionrc
|
2023-09-18 16:07:38 +00:00
|
|
|
CONFIGS = .config/mimeapps.list .config/picom.conf .config/redshift.conf .config/user-dirs.dirs
|
2022-05-19 18:21:15 +00:00
|
|
|
|
2023-09-18 16:07:38 +00:00
|
|
|
install: install_config
|
2022-05-19 18:21:15 +00:00
|
|
|
cp -v $(FILES) $(HOME)
|
2022-12-13 23:47:57 +00:00
|
|
|
cp -rv bin/* $(HOME)/bin
|
2022-09-03 13:21:19 +00:00
|
|
|
cp -rv .local $(HOME)
|
2023-09-18 16:07:38 +00:00
|
|
|
|
|
|
|
install_config: install_config_git install_config_polybar install_config_other
|
|
|
|
|
|
|
|
install_config_git:
|
|
|
|
ifneq ("$(wildcard $(HOME)/.config/git/config)","")
|
|
|
|
@echo "Git config found, skipping install"
|
|
|
|
else
|
|
|
|
mkdir -p $(HOME)/.config/git
|
|
|
|
cp .config/git/config $(HOME)/.config/git
|
|
|
|
endif
|
|
|
|
|
|
|
|
install_config_polybar:
|
|
|
|
cp -rv .config/polybar $(HOME)/.config
|
|
|
|
|
|
|
|
install_config_other:
|
|
|
|
cp -rv $(CONFIGS) $(HOME)/.config
|