update verbose

This commit is contained in:
Mylloon 2023-11-05 15:16:55 +01:00
parent cc56c72511
commit 67c42c895f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -55,12 +55,12 @@ sync-dotconfig:
@$(WGET) $(REPO_SRC)/.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) $(REPO_SRC)/.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
@echo "Fish global settings synced!"
@echo
# Micro # Micro
@$(WGET) $(REPO_SRC)/.config/micro/settings.json -O $(HOME)/.config/micro/settings.json @$(WGET) $(REPO_SRC)/.config/micro/settings.json -O $(HOME)/.config/micro/settings.json
@echo "Micro settings synced!"
# END
@echo ".config directory synced!"
@echo @echo
@ -70,24 +70,22 @@ sync-emacs:
@$(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
# END
@echo "Emacs config synced!"
@echo
# .dotfiles # .dotfiles
sync-dotfiles: sync-dotfiles:
# .gitconfig # .gitconfig
@$(WGET) $(REPO_SRC)/dotfiles/.gitconfig -O $(HOME)/.gitconfig @$(WGET) $(REPO_SRC)/dotfiles/.gitconfig -O $(HOME)/.gitconfig
@echo "Git settings synced!"
@echo
# .ocamlformat # .ocamlformat
@$(WGET) $(REPO_SRC)/dotfiles/.ocamlformat -O $(HOME)/.ocamlformat @$(WGET) $(REPO_SRC)/dotfiles/.ocamlformat -O $(HOME)/.ocamlformat
@echo "OCaml formatter settings synced!"
@echo
# .clang-format # .clang-format
@$(WGET) $(REPO_SRC)/dotfiles/.clang-format -O $(HOME)/.clang-format @$(WGET) $(REPO_SRC)/dotfiles/.clang-format -O $(HOME)/.clang-format
@echo "Clang formatter settings synced!"
# End
@echo "dotfiles synced!"
@echo @echo
@ -95,29 +93,43 @@ sync-dotfiles:
sync-arch: sync-arch:
# .config # .config
@$(WGET) $(REPO_SRC)/.config/update_theme.sh -O $(HOME)/.config/update_theme.sh @$(WGET) $(REPO_SRC)/.config/update_theme.sh -O $(HOME)/.config/update_theme.sh
@echo "Theme script synced!"
@echo
# Fish # Fish
@$(WGET) $(REPO_SRC)/.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) $(REPO_SRC)/.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) $(REPO_SRC)/.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
@echo "Fish specific settings synced!"
@echo
# Emoji Picker # Emoji Picker
@$(WGET) $(REPO_SRC)/.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
@echo "Emoji picker settings synced!"
@echo
# Firefox # Firefox
-@$(RM) $(HOME)/.mozilla/firefox/*.default-release/user.js -@$(RM) $(HOME)/.mozilla/firefox/*.default-release/user.js
@$(WGET) $(REPO_SRC)/.mozilla/firefox/user.js -P $(HOME)/.mozilla/firefox/*.default-release @$(WGET) $(REPO_SRC)/.mozilla/firefox/user.js -P $(HOME)/.mozilla/firefox/*.default-release
@$(CURL) $(REPO_SRC)/.mozilla/firefox/user-arch.js >> $(wildcard $(HOME)/.mozilla/firefox/*.default-release)/user.js @$(CURL) $(REPO_SRC)/.mozilla/firefox/user-arch.js >> $(wildcard $(HOME)/.mozilla/firefox/*.default-release)/user.js
@echo "Firefox settings synced!"
@echo
# VSCodium # VSCodium
@$(WGET) $(REPO_SRC)/.config/VSCodium/product.json -O $(HOME)/.config/VSCodium/product.json @$(WGET) $(REPO_SRC)/.config/VSCodium/product.json -O $(HOME)/.config/VSCodium/product.json
@echo "VSCodium settings synced!"
@echo
# Topgrade # Topgrade
@$(WGET) $(REPO_SRC)/.config/topgrade/topgrade.toml -O $(HOME)/.config/topgrade.toml @$(WGET) $(REPO_SRC)/.config/topgrade/topgrade.toml -O $(HOME)/.config/topgrade.toml
@echo "Topgrade settings synced!"
@echo
# Pacman hooks # Pacman hooks
@sudo mkdir -p /etc/pacman.d/hooks @sudo mkdir -p /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
# Windows Subsystem for Linux specific # Windows Subsystem for Linux specific
@ -126,10 +138,14 @@ sync-wsl:
@$(WGET) $(REPO_SRC)/.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) $(REPO_SRC)/.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
@$(CURL) $(REPO_SRC)/.config/fish/conf.d/alias_wsl.fish >> $(HOME)/.config/fish/conf.d/alias.fish @$(CURL) $(REPO_SRC)/.config/fish/conf.d/alias_wsl.fish >> $(HOME)/.config/fish/conf.d/alias.fish
@echo "Fish specific settings synced!"
@echo
# Unison # Unison
@mkdir -p $(HOME)/.unison @mkdir -p $(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
# Windows through WSL # Windows through WSL
@ -149,28 +165,28 @@ sync-windows:
$(WGET) $(REPO_SRC)/games/cs2/autoexec.cfg -O $(CS2_CFG)/autoexec.cfg; \ $(WGET) $(REPO_SRC)/games/cs2/autoexec.cfg -O $(CS2_CFG)/autoexec.cfg; \
$(WGET) $(REPO_SRC)/games/cs2/myconfig.cfg -O $(CS2_CFG)/myconfig.cfg; \ $(WGET) $(REPO_SRC)/games/cs2/myconfig.cfg -O $(CS2_CFG)/myconfig.cfg; \
$(WGET) $(REPO_SRC)/games/cs2/customgame.cfg -O $(CS2_CFG)/customgame.cfg; \ $(WGET) $(REPO_SRC)/games/cs2/customgame.cfg -O $(CS2_CFG)/customgame.cfg; \
echo "$(WIN) CS:GO synced!"; \ echo "$(WIN) CS2 scripts synced!"; \
echo; \ echo; \
fi fi
# Firefox # Firefox
@$(WGET) $(REPO_SRC)/.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
@$(CURL) $(REPO_SRC)/.mozilla/firefox/user-windows.js >> $(wildcard $(APPDATA)/Mozilla/Firefox/Profiles/*.default-release)/user.js @$(CURL) $(REPO_SRC)/.mozilla/firefox/user-windows.js >> $(wildcard $(APPDATA)/Mozilla/Firefox/Profiles/*.default-release)/user.js
@echo "$(WIN) Firefox synced!" @echo "$(WIN) Firefox settings synced!"
@echo @echo
# WindowsAutoNightMode # WindowsAutoNightMode
@$(WGET) $(REPO_SRC)/.config/WindowsAutoNightMode/config.yaml -O $(APPDATA)/AutoDarkMode/config.yaml @$(WGET) $(REPO_SRC)/.config/WindowsAutoNightMode/config.yaml -O $(APPDATA)/AutoDarkMode/config.yaml
@echo "$(WIN) WindowsAutoNightMode synced!" @echo "$(WIN) WindowsAutoNightMode settings synced!"
@echo @echo
# Xournal++ # Xournal++
@$(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++ synced!" @echo "$(WIN) Xournal++ settings synced!"
@echo @echo
# # Topgrade # # Topgrade
# @$(WGET) $(REPO_SRC)/.config/topgrade/topgrade.toml -O $(APPDATA)/topgrade.toml # @$(WGET) $(REPO_SRC)/.config/topgrade/topgrade.toml -O $(APPDATA)/topgrade.toml
# @echo "$(WIN) Topgrade synced!" # @echo "$(WIN) Topgrade settings synced!"
# @echo # @echo
@ -182,8 +198,16 @@ else
# Call target of compatible with all supported platforms # Call target of compatible with all supported platforms
@$(MAKE) sync-dotconfig @$(MAKE) sync-dotconfig
@echo ".config directory synced!"
@echo
@$(MAKE) sync-dotfiles @$(MAKE) sync-dotfiles
@echo "Dotfiles synced!"
@echo
@$(MAKE) sync-emacs @$(MAKE) sync-emacs
@echo "Emacs settings synced!"
@echo
# Specific to Arch # Specific to Arch