dotfiles/Makefile

82 lines
2.3 KiB
Makefile
Raw Normal View History

2016-11-01 02:25:24 +00:00
.PHONY: help git lftp mpd ncmpcpp npm nvim ssh sway tmux urxvt wallpapers weechat zsh clean
2016-10-23 04:18:46 +00:00
.DEFAULT: help
help:
@echo "all > set up everything"
@echo "git > global git config & aliases"
@echo "lftp > sftp management"
2016-10-31 21:51:04 +00:00
@echo "mpd > music player daemon config"
@echo "ncmpcpp > ncurses mpc++ ui/colour settings & playlists"
@echo "npm > npm configuration (ha ha)"
@echo "nvim > neovim config & plugins"
@echo "ssh > safe-ish ssh config"
@echo "sway > minimal tiling wm for naughty computers"
@echo "termite > terminal colours & keyboard settings"
2016-10-29 05:09:40 +00:00
@echo "tmux > tmux config"
@echo "wallpapers > system wallpapers"
2016-11-01 02:25:24 +00:00
@echo "weechat > irc client ui/colour configuration"
@echo "zsh > shell, aliases and cool stuff"
2016-10-23 04:18:46 +00:00
@echo ""
@echo " mostly, i'm just lazy"
2016-10-23 04:18:46 +00:00
2016-11-01 02:25:24 +00:00
all: git lftp mpd ncmpcpp npm nvim ssh sway tmux urxvt wallpapers weechat zsh
2016-10-23 04:18:46 +00:00
git:
2016-11-01 02:25:24 +00:00
@stow -t ~/ --no-folding git
2016-10-23 04:18:46 +00:00
lftp:
2016-11-01 02:25:24 +00:00
@stow -t ~/ --no-folding lftp
2016-10-23 04:18:46 +00:00
2016-10-31 21:51:04 +00:00
mpd:
2016-11-01 02:25:24 +00:00
@stow -t ~/ --no-folding mpd
2016-10-31 21:51:04 +00:00
ncmpcpp:
2016-11-01 02:25:24 +00:00
@stow -t ~/ --no-folding ncmpcpp
2016-10-31 21:51:04 +00:00
2016-10-23 04:18:46 +00:00
npm:
@mkdir -p ~/.cache/npm ~/.local/share/npm
2016-11-01 02:25:24 +00:00
@stow -t ~/ --no-folding npm
2016-10-23 04:18:46 +00:00
nvim:
2016-11-01 02:25:24 +00:00
@stow -t ~/ --no-folding nvim
2016-10-23 04:18:46 +00:00
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
2016-10-23 04:18:46 +00:00
@echo "Run :PlugInstall when nvim is first run!"
ssh:
2016-11-01 02:25:24 +00:00
@stow -t ~/ --no-folding ssh
2016-10-23 04:18:46 +00:00
sway:
2016-11-01 02:25:24 +00:00
@stow -t ~/ --no-folding sway
2016-10-23 04:18:46 +00:00
termite:
@stow -t ~/ --no-folding termite
2016-10-29 05:09:40 +00:00
tmux:
git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
2016-11-01 02:25:24 +00:00
@stow -t ~/ --no-folding tmux
2016-10-29 05:09:40 +00:00
wallpapers:
2016-11-01 02:25:24 +00:00
@stow -t ~/ --no-folding wallpapers
weechat:
@stow -t ~/ --no-folding weechat
2016-10-23 04:18:46 +00:00
zsh:
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
git clone https://github.com/zsh-users/zsh-completions.git ~/.oh-my-zsh/custom/plugins/zsh-completions
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
2016-11-01 02:25:24 +00:00
@stow -t ~/ --no-folding zsh
2016-10-23 04:18:46 +00:00
clean:
2016-10-29 05:09:40 +00:00
@stow -D git lftp npm nvim ssh sway tmux urxvt zsh
2016-10-23 04:18:46 +00:00
@rm -rf ~/.config/git \
~/.config/lftp ~/.local/share/lftp \
~/.config/npm ~/.cache/npm ~/.local/share/npm \
~/.config/nvim \
~/.config/sway \
2016-10-29 05:09:40 +00:00
~/.config/tmux \
2016-11-01 02:25:24 +00:00
~/.config/weechat \
2016-10-23 04:18:46 +00:00
~/.oh-my-zsh