Merge branch 'master' of github.com:lytedev/dotfiles
This commit is contained in:
commit
08a622c80b
20
Makefile
Normal file
20
Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
MAKEFILE_PATH ?= $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||||
|
ALERT_AGREEMENT_FILE ?= "$(MAKEFILE_PATH)/.agreed-to-erasing-files.lock"
|
||||||
|
|
||||||
|
default: install
|
||||||
|
|
||||||
|
$(ALERT_AGREEMENT_FILE):
|
||||||
|
@echo -e "Running this script may delete existing personal configuration files.\n" \
|
||||||
|
"Please view this script's source, fully understand it, and backup any\n" \
|
||||||
|
"files before continuing.\n" \
|
||||||
|
"Seriously. Like... entire directories. Just gone."
|
||||||
|
|
||||||
|
# RESPONSE=$(shell bash -c 'read -r -p "Are you sure you want to continue? [y/N] "')
|
||||||
|
# @if [[ $response =~ ^(yes|y)$ ]]; then
|
||||||
|
# @echo "agreed" > "$ALERT_AGREEMENT_FILE"
|
||||||
|
# @else
|
||||||
|
# @exit 1
|
||||||
|
# @fi
|
||||||
|
|
||||||
|
install: $(ALERT_AGREEMENT_FILE)
|
||||||
|
@echo "Installed!"
|
|
@ -76,7 +76,10 @@ Here are some bullet points on my workflow as a Web Developer:
|
||||||
|
|
||||||
## To Do and Improvements
|
## To Do and Improvements
|
||||||
|
|
||||||
* Unify all the common variables... somehow?
|
* Unify all the common variables... somehow? (and use templates and `envsubst`?)
|
||||||
|
* Makefile as setup script
|
||||||
|
* Vim `<leader>m` binding should be able to run arbitrary commands, not just
|
||||||
|
`make`
|
||||||
* Dunst and notifications
|
* Dunst and notifications
|
||||||
* Vimux?
|
* Vimux?
|
||||||
* terminal on-the-fly font resizing?
|
* terminal on-the-fly font resizing?
|
||||||
|
|
Reference in a new issue