diff --git a/makefile b/makefile index 2284457..3c676e9 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,4 @@ -.PHONY: shell zsh tmux nvim foot sway swaylock mako tofi wlogout ncspot waybar +.PHONY: shell zsh tmux nvim foot sway swaylock mako tofi wlogout ncspot waybar setup update install help: @echo "\nWelcome to my configs, feel free to use and modify them as you like! \n\nTo install all of them to your system, just '$$ make install'.\nIf you just want some of them, use '$$ make ' for a specific application.\nFor a dry-run of any of the targets, just prepend '-dry' to the targets name.\nNote: This management relies on GNU Stow, so to work properly, please ensure you have 'stow' installed...\n\nYou don't want to use a config anymore? Prepend '-uninstall' to any config installed via the 'install'-command from earlier.\n\nTo much stuff you don't need?\n\t\tCheck out 'https://git.xesc.de/xesc'\nfor the individual repos of the applicatons.\n" @@ -8,6 +8,10 @@ install: setup shell zsh tmux nvim foot sway swaylock mako tofi wlogout ncspot w setup: git submodule update --init +update: + git pull + git submodule update --remote + shell: stow -v -t /home/"$$USER"/ shell ln -s /home/"$$USER"/.config/shell/profile /home/"$$USER"/.zprofile