clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

new stow makefile

sspaeti e5f1f72c da0a8dfc

+63 -13
+45 -13
Makefile
··· 1 - .DEFAULT_GOAL := backup-dotfiles 1 + # Linking dotfiles with Stow 2 + # 2 3 3 - backup-dotfiles: 4 - ./backup_dotfiles.sh 5 - echo "backup done.." 6 - python _utils/remove_data.py 4 + # Shared packages (work on both platforms) 5 + SHARED = nvim zsh tmux kitty git scripts 6 + 7 + # Platform-specific packages 8 + MACOS = karabiner-elements yabai skhd 9 + LINUX = kanata 7 10 11 + .PHONY: mac linux shared clean 8 12 9 - mj-backup: 10 - ./backup_dotfiles_mj.sh 11 - echo "backup done.." 12 13 13 - arch: 14 - ./backup_dotfiles_arch.sh 15 - echo "backup done.." 16 14 17 - help: ## Show all Makefile targets 18 - @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' 15 + # obsidian: 16 + # cp ~/Simon/SecondBrain/.obsidian/workspace $git/general/dotfiles/obsidian/workspace 17 + # cp ~/Simon/SecondBrain/.obsidian/plugins $git/general/dotfiles/obsidian/plugins 18 + # cp ~/Simon/SecondBrain/.obsidian/workspace.json $git/general/dotfiles/obsidian/workspace.json 19 + # cp ~/Simon/SecondBrain/.obsidian/hotkeys.json $git/general/dotfiles/obsidian/hotkeys.json 20 + # cp ~/Simon/SecondBrain/.obsidian/core-plugins.json $git/general/dotfiles/obsidian/core-plugins.json 21 + # cp ~/Simon/SecondBrain/.obsidian/community-plugins.json $git/general/dotfiles/obsidian/community-plugins.json 22 + # cp ~/Simon/SecondBrain/.obsidian/appearance.json $git/general/dotfiles/obsidian/appearance.json 23 + # cp ~/Simon/SecondBrain/.obsidian/app.json $git/general/dotfiles/obsidian/app.json 24 + # cp ~/Simon/SecondBrain/.obsidian/.vimrc $git/general/dotfiles/obsidian/.vimrc 25 + # cp -r ~/Simon/SecondBrain/.obsidian/snippets/* $git/general/dotfiles/obsidian/snippets/ 26 + # cp -r ~/Simon/SecondBrain/.obsidian/exports/* $git/general/dotfiles/obsidian/exports/ 27 + 28 + # Install shared dotfiles 29 + shared: 30 + stow $(SHARED) 31 + 32 + # Install macOS-specific setup 33 + mac: shared 34 + stow $(MACOS) 35 + 36 + # Install Linux-specific setup 37 + linux: shared 38 + stow $(LINUX) 39 + 40 + # Remove all symlinks 41 + clean: 42 + stow -D $(SHARED) $(MACOS) $(LINUX) 43 + 44 + # Remove only macOS symlinks 45 + clean-mac: 46 + stow -D $(MACOS) 47 + 48 + # Remove only Linux symlinks 49 + clean-linux: 50 + stow -D $(LINUX)
+18
Makefile.manual
··· 1 + .DEFAULT_GOAL := backup-dotfiles 2 + 3 + backup-dotfiles: 4 + ./backup_dotfiles.sh 5 + echo "backup done.." 6 + python _utils/remove_data.py 7 + 8 + 9 + mj-backup: 10 + ./backup_dotfiles_mj.sh 11 + echo "backup done.." 12 + 13 + arch: 14 + ./backup_dotfiles_arch.sh 15 + echo "backup done.." 16 + 17 + help: ## Show all Makefile targets 18 + @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'