facto: URL
This commit is contained in:
parent
be743d6053
commit
d4feabf9e6
1 changed files with 30 additions and 29 deletions
55
Makefile
55
Makefile
|
@ -5,6 +5,7 @@ VC = git
|
||||||
RM = rm -f
|
RM = rm -f
|
||||||
|
|
||||||
# Downloaders
|
# Downloaders
|
||||||
|
REPO_SRC = https://git.mylloon.fr/Anri/confOS/raw/branch/main
|
||||||
WGET = wget -q --show-progress
|
WGET = wget -q --show-progress
|
||||||
CURL = curl -s
|
CURL = curl -s
|
||||||
|
|
||||||
|
@ -46,14 +47,14 @@ sync-dotconfig:
|
||||||
@mkdir -p $(HOME)/.config/fish/conf.d
|
@mkdir -p $(HOME)/.config/fish/conf.d
|
||||||
@mkdir -p $(HOME)/.config/fish/functions
|
@mkdir -p $(HOME)/.config/fish/functions
|
||||||
|
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/.config/fish/functions/fish_prompt.fish -O $(HOME)/.config/fish/functions/fish_prompt.fish
|
@$(WGET) $(REPO_SRC)/.config/fish/functions/fish_prompt.fish -O $(HOME)/.config/fish/functions/fish_prompt.fish
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/.config/fish/conf.d/promp_color.fish -O $(HOME)/.config/fish/conf.d/promp_color.fish
|
@$(WGET) $(REPO_SRC)/.config/fish/conf.d/promp_color.fish -O $(HOME)/.config/fish/conf.d/promp_color.fish
|
||||||
|
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/.config/fish/conf.d/abbr.fish -O $(HOME)/.config/fish/conf.d/abbr.fish
|
@$(WGET) $(REPO_SRC)/.config/fish/conf.d/abbr.fish -O $(HOME)/.config/fish/conf.d/abbr.fish
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/.config/fish/conf.d/alias.fish -O $(HOME)/.config/fish/conf.d/alias.fish
|
@$(WGET) $(REPO_SRC)/.config/fish/conf.d/alias.fish -O $(HOME)/.config/fish/conf.d/alias.fish
|
||||||
|
|
||||||
# Micro
|
# Micro
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/.config/micro/settings.json -O $(HOME)/.config/micro/settings.json
|
@$(WGET) $(REPO_SRC)/.config/micro/settings.json -O $(HOME)/.config/micro/settings.json
|
||||||
|
|
||||||
# END
|
# END
|
||||||
@echo ".config directory synced!"
|
@echo ".config directory synced!"
|
||||||
|
@ -63,7 +64,7 @@ sync-dotconfig:
|
||||||
sync-emacs:
|
sync-emacs:
|
||||||
@mkdir -p $(HOME)/.emacs.d
|
@mkdir -p $(HOME)/.emacs.d
|
||||||
|
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/.emacs.d/init.el -O $(HOME)/.emacs.d/init.el
|
@$(WGET) $(REPO_SRC)/.emacs.d/init.el -O $(HOME)/.emacs.d/init.el
|
||||||
|
|
||||||
# END
|
# END
|
||||||
@echo "Emacs config synced!"
|
@echo "Emacs config synced!"
|
||||||
|
@ -72,13 +73,13 @@ sync-emacs:
|
||||||
# .dotfiles
|
# .dotfiles
|
||||||
sync-dotfiles:
|
sync-dotfiles:
|
||||||
# .gitconfig
|
# .gitconfig
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/dotfiles/.gitconfig -O $(HOME)/.gitconfig
|
@$(WGET) $(REPO_SRC)/dotfiles/.gitconfig -O $(HOME)/.gitconfig
|
||||||
|
|
||||||
# .ocamlformat
|
# .ocamlformat
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/dotfiles/.ocamlformat -O $(HOME)/.ocamlformat
|
@$(WGET) $(REPO_SRC)/dotfiles/.ocamlformat -O $(HOME)/.ocamlformat
|
||||||
|
|
||||||
# .clang-format
|
# .clang-format
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/dotfiles/.clang-format -O $(HOME)/.clang-format
|
@$(WGET) $(REPO_SRC)/dotfiles/.clang-format -O $(HOME)/.clang-format
|
||||||
|
|
||||||
# End
|
# End
|
||||||
@echo "dotfiles synced!"
|
@echo "dotfiles synced!"
|
||||||
|
@ -91,51 +92,51 @@ sync-dotfiles:
|
||||||
# Arch distro
|
# Arch distro
|
||||||
sync-arch:
|
sync-arch:
|
||||||
# Fish
|
# Fish
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/.config/fish/config_arch.fish -O $(HOME)/.config/fish/config.fish
|
@$(WGET) $(REPO_SRC)/.config/fish/config_arch.fish -O $(HOME)/.config/fish/config.fish
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/.config/fish/conf.d/abbr.fish -O $(HOME)/.config/fish/conf.d/abbr.fish
|
@$(WGET) $(REPO_SRC)/.config/fish/conf.d/abbr.fish -O $(HOME)/.config/fish/conf.d/abbr.fish
|
||||||
@$(CURL) https://git.mylloon.fr/Anri/confOS/raw/branch/main/.config/fish/conf.d/abbr_arch.fish >> $(HOME)/.config/fish/conf.d/abbr.fish
|
@$(CURL) $(REPO_SRC)/.config/fish/conf.d/abbr_arch.fish >> $(HOME)/.config/fish/conf.d/abbr.fish
|
||||||
|
|
||||||
# Emoji Picker
|
# Emoji Picker
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/.config/gazatu.xyz/emoji-picker.ini -O $(HOME)/.config/gazatu.xyz/emoji-picker.ini
|
@$(WGET) $(REPO_SRC)/.config/gazatu.xyz/emoji-picker.ini -O $(HOME)/.config/gazatu.xyz/emoji-picker.ini
|
||||||
|
|
||||||
# Firefox
|
# Firefox
|
||||||
-@$(RM) $(HOME)/.mozilla/firefox/*.default-release/user.js
|
-@$(RM) $(HOME)/.mozilla/firefox/*.default-release/user.js
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/.mozilla/firefox/user.js -P $(HOME)/.mozilla/firefox/*.default-release
|
@$(WGET) $(REPO_SRC)/.mozilla/firefox/user.js -P $(HOME)/.mozilla/firefox/*.default-release
|
||||||
|
|
||||||
# VSCodium
|
# VSCodium
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/.config/VSCodium/product.json -O $(HOME)/.config/VSCodium/product.json
|
@$(WGET) $(REPO_SRC)/.config/VSCodium/product.json -O $(HOME)/.config/VSCodium/product.json
|
||||||
|
|
||||||
# Windows Subsystem for Linux
|
# Windows Subsystem for Linux
|
||||||
sync-wsl:
|
sync-wsl:
|
||||||
# Fish
|
# Fish
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/.config/fish/config_wsl.fish -O $(HOME)/.config/fish/config.fish
|
@$(WGET) $(REPO_SRC)/.config/fish/config_wsl.fish -O $(HOME)/.config/fish/config.fish
|
||||||
@$(CURL) https://git.mylloon.fr/Anri/confOS/raw/branch/main/.config/fish/conf.d/abbr_wsl.fish >> $(HOME)/.config/fish/conf.d/abbr.fish
|
@$(CURL) $(REPO_SRC)/.config/fish/conf.d/abbr_wsl.fish >> $(HOME)/.config/fish/conf.d/abbr.fish
|
||||||
|
|
||||||
# Unison
|
# Unison
|
||||||
@mkdir -p $(HOME)/.unison
|
@mkdir -p $(HOME)/.unison
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/.unison/default.prf -O $(HOME)/.unison/default.prf
|
@$(WGET) $(REPO_SRC)/.unison/default.prf -O $(HOME)/.unison/default.prf
|
||||||
|
|
||||||
# Windows through WSL
|
# Windows through WSL
|
||||||
sync-windows:
|
sync-windows:
|
||||||
# Scripts
|
# Scripts
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/windows/ctmpf.bat -O $(WIN_HOME)/Documents/Local/ctmpf.bat
|
@$(WGET) $(REPO_SRC)/windows/ctmpf.bat -O $(WIN_HOME)/Documents/Local/ctmpf.bat
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/windows/spotx.bat -O $(WIN_HOME)/Documents/Local/spotx.bat
|
@$(WGET) $(REPO_SRC)/windows/spotx.bat -O $(WIN_HOME)/Documents/Local/spotx.bat
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/windows/update.bat -O $(WIN_HOME)/Documents/Local/update.bat
|
@$(WGET) $(REPO_SRC)/windows/update.bat -O $(WIN_HOME)/Documents/Local/update.bat
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/windows/fix_nvidia_wsl.bat -O $(WIN_HOME)/Documents/Local/fix_nvidia_wsl.bat
|
@$(WGET) $(REPO_SRC)/windows/fix_nvidia_wsl.bat -O $(WIN_HOME)/Documents/Local/fix_nvidia_wsl.bat
|
||||||
@echo "(Windows) Scripts synced!"
|
@echo "(Windows) Scripts synced!"
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
# CSGO (only if installed)
|
# CSGO (only if installed)
|
||||||
@if [ -d $(CSGO_CFG) ]; then \
|
@if [ -d $(CSGO_CFG) ]; then \
|
||||||
$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/games/csgo/autoexec.cfg -O $(CSGO_CFG)/autoexec.cfg; \
|
$(WGET) $(REPO_SRC)/games/csgo/autoexec.cfg -O $(CSGO_CFG)/autoexec.cfg; \
|
||||||
$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/games/csgo/myconfig.cfg -O $(CSGO_CFG)/myconfig.cfg; \
|
$(WGET) $(REPO_SRC)/games/csgo/myconfig.cfg -O $(CSGO_CFG)/myconfig.cfg; \
|
||||||
$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/games/csgo/customgame.cfg -O $(CSGO_CFG)/customgame.cfg; \
|
$(WGET) $(REPO_SRC)/games/csgo/customgame.cfg -O $(CSGO_CFG)/customgame.cfg; \
|
||||||
$(foreach d,$(WIN_STEAM_USERDATA), $(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/games/csgo/video.txt -O $(PFx86)/Steam/userdata/$(d)/730/local/cfg/video.txt;) \
|
$(foreach d,$(WIN_STEAM_USERDATA), $(WGET) $(REPO_SRC)/games/csgo/video.txt -O $(PFx86)/Steam/userdata/$(d)/730/local/cfg/video.txt;) \
|
||||||
echo "(Windows) CS:GO synced!"; \
|
echo "(Windows) CS:GO synced!"; \
|
||||||
echo; \
|
echo; \
|
||||||
fi
|
fi
|
||||||
# Firefox
|
# Firefox
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/confOS/raw/branch/main/.mozilla/firefox/user.js -O $(APPDATA)/Mozilla/Firefox/Profiles/*.default-release/user.js
|
@$(WGET) $(REPO_SRC)/.mozilla/firefox/user.js -O $(APPDATA)/Mozilla/Firefox/Profiles/*.default-release/user.js
|
||||||
@echo "(Windows) Firefox synced!"
|
@echo "(Windows) Firefox synced!"
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue