mkdir util

This commit is contained in:
Mylloon 2024-04-03 08:39:48 +02:00
parent 53ddd268f1
commit 95b0be6d48
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -2,7 +2,8 @@
VC = git VC = git
# Util # Util
RM = rm -f RM = rm -f
MKDIR = mkdir -p
# Downloaders # Downloaders
REPO_SRC = https://git.mylloon.fr/Anri/confOS/raw/branch/main REPO_SRC = https://git.mylloon.fr/Anri/confOS/raw/branch/main
@ -44,8 +45,8 @@ full-sync:
# .config # .config
sync-dotconfig: sync-dotconfig:
# Fish # Fish
@mkdir -p $(HOME)/.config/fish/conf.d @$(MKDIR) $(HOME)/.config/fish/conf.d
@mkdir -p $(HOME)/.config/fish/functions @$(MKDIR) $(HOME)/.config/fish/functions
@$(WGET) $(REPO_SRC)/.config/fish/config.fish -O $(HOME)/.config/fish/config.fish @$(WGET) $(REPO_SRC)/.config/fish/config.fish -O $(HOME)/.config/fish/config.fish
@ -66,7 +67,7 @@ sync-dotconfig:
@echo @echo
# Bat # Bat
@mkdir -p $(HOME)/.config/bat @$(MKDIR) $(HOME)/.config/bat
@$(WGET) $(REPO_SRC)/.config/bat/config -O $(HOME)/.config/bat/config @$(WGET) $(REPO_SRC)/.config/bat/config -O $(HOME)/.config/bat/config
@echo "Bat settings synced!" @echo "Bat settings synced!"
@echo @echo
@ -79,7 +80,7 @@ sync-dotconfig:
# # .emacs.d # # .emacs.d
# sync-emacs: # sync-emacs:
# @mkdir -p $(HOME)/.emacs.d # @$(MKDIR) $(HOME)/.emacs.d
# #
# @$(WGET) $(REPO_SRC)/.emacs.d/init.el -O $(HOME)/.emacs.d/init.el # @$(WGET) $(REPO_SRC)/.emacs.d/init.el -O $(HOME)/.emacs.d/init.el
@ -149,7 +150,7 @@ sync-arch:
@echo @echo
# Pacman hooks # 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 @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 "Pacman hooks synced!"
@echo @echo
@ -166,7 +167,7 @@ sync-wsl:
@echo @echo
# Unison # Unison
@mkdir -p $(HOME)/.unison @$(MKDIR) $(HOME)/.unison
@$(WGET) $(REPO_SRC)/.unison/default.prf -O $(HOME)/.unison/default.prf @$(WGET) $(REPO_SRC)/.unison/default.prf -O $(HOME)/.unison/default.prf
@echo "Unison settings synced!" @echo "Unison settings synced!"
@echo @echo
@ -205,13 +206,13 @@ sync-windows:
@echo @echo
# Xournal++ # Xournal++
@mkdir -p $(LOCALAPPDATA)/xournalpp @$(MKDIR) $(LOCALAPPDATA)/xournalpp
@$(WGET) $(REPO_SRC)/.config/xournalpp/settings.xml -O $(LOCALAPPDATA)/xournalpp/settings.xml @$(WGET) $(REPO_SRC)/.config/xournalpp/settings.xml -O $(LOCALAPPDATA)/xournalpp/settings.xml
@echo "$(WIN) Xournal++ settings synced!" @echo "$(WIN) Xournal++ settings synced!"
@echo @echo
# OpenTabletDriver presets # 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-main.json -O $(LOCALAPPDATA)/OpenTabletDriver/Presets/vertical-main.json
@$(WGET) $(REPO_SRC)/opentabletdriver/vertical-second.json -O $(LOCALAPPDATA)/OpenTabletDriver/Presets/vertical-second.json @$(WGET) $(REPO_SRC)/opentabletdriver/vertical-second.json -O $(LOCALAPPDATA)/OpenTabletDriver/Presets/vertical-second.json
@echo "$(WIN) OpenTabletDriver presets synced!" @echo "$(WIN) OpenTabletDriver presets synced!"