mkdir util
This commit is contained in:
parent
53ddd268f1
commit
95b0be6d48
1 changed files with 10 additions and 9 deletions
17
Makefile
17
Makefile
|
@ -3,6 +3,7 @@ VC = git
|
|||
|
||||
# Util
|
||||
RM = rm -f
|
||||
MKDIR = mkdir -p
|
||||
|
||||
# Downloaders
|
||||
REPO_SRC = https://git.mylloon.fr/Anri/confOS/raw/branch/main
|
||||
|
@ -44,8 +45,8 @@ full-sync:
|
|||
# .config
|
||||
sync-dotconfig:
|
||||
# Fish
|
||||
@mkdir -p $(HOME)/.config/fish/conf.d
|
||||
@mkdir -p $(HOME)/.config/fish/functions
|
||||
@$(MKDIR) $(HOME)/.config/fish/conf.d
|
||||
@$(MKDIR) $(HOME)/.config/fish/functions
|
||||
|
||||
@$(WGET) $(REPO_SRC)/.config/fish/config.fish -O $(HOME)/.config/fish/config.fish
|
||||
|
||||
|
@ -66,7 +67,7 @@ sync-dotconfig:
|
|||
@echo
|
||||
|
||||
# Bat
|
||||
@mkdir -p $(HOME)/.config/bat
|
||||
@$(MKDIR) $(HOME)/.config/bat
|
||||
@$(WGET) $(REPO_SRC)/.config/bat/config -O $(HOME)/.config/bat/config
|
||||
@echo "Bat settings synced!"
|
||||
@echo
|
||||
|
@ -79,7 +80,7 @@ sync-dotconfig:
|
|||
|
||||
# # .emacs.d
|
||||
# sync-emacs:
|
||||
# @mkdir -p $(HOME)/.emacs.d
|
||||
# @$(MKDIR) $(HOME)/.emacs.d
|
||||
#
|
||||
# @$(WGET) $(REPO_SRC)/.emacs.d/init.el -O $(HOME)/.emacs.d/init.el
|
||||
|
||||
|
@ -149,7 +150,7 @@ sync-arch:
|
|||
@echo
|
||||
|
||||
# Pacman hooks
|
||||
@sudo mkdir -p /etc/pacman.d/hooks
|
||||
@sudo $(MKDIR) /etc/pacman.d/hooks
|
||||
@sudo $(WGET) $(REPO_SRC)/pacman.d/hooks/stop-wine-associations.hook -P /etc/pacman.d/hooks/stop-wine-associations.hook
|
||||
@echo "Pacman hooks synced!"
|
||||
@echo
|
||||
|
@ -166,7 +167,7 @@ sync-wsl:
|
|||
@echo
|
||||
|
||||
# Unison
|
||||
@mkdir -p $(HOME)/.unison
|
||||
@$(MKDIR) $(HOME)/.unison
|
||||
@$(WGET) $(REPO_SRC)/.unison/default.prf -O $(HOME)/.unison/default.prf
|
||||
@echo "Unison settings synced!"
|
||||
@echo
|
||||
|
@ -205,13 +206,13 @@ sync-windows:
|
|||
@echo
|
||||
|
||||
# Xournal++
|
||||
@mkdir -p $(LOCALAPPDATA)/xournalpp
|
||||
@$(MKDIR) $(LOCALAPPDATA)/xournalpp
|
||||
@$(WGET) $(REPO_SRC)/.config/xournalpp/settings.xml -O $(LOCALAPPDATA)/xournalpp/settings.xml
|
||||
@echo "$(WIN) Xournal++ settings synced!"
|
||||
@echo
|
||||
|
||||
# OpenTabletDriver presets
|
||||
@mkdir -p $(LOCALAPPDATA)/OpenTabletDriver/Presets
|
||||
@$(MKDIR) $(LOCALAPPDATA)/OpenTabletDriver/Presets
|
||||
@$(WGET) $(REPO_SRC)/opentabletdriver/vertical-main.json -O $(LOCALAPPDATA)/OpenTabletDriver/Presets/vertical-main.json
|
||||
@$(WGET) $(REPO_SRC)/opentabletdriver/vertical-second.json -O $(LOCALAPPDATA)/OpenTabletDriver/Presets/vertical-second.json
|
||||
@echo "$(WIN) OpenTabletDriver presets synced!"
|
||||
|
|
Loading…
Reference in a new issue