dotfiles/Makefile

71 lines
1.8 KiB
Makefile
Raw Normal View History

2018-04-05 12:34:27 +02:00
tmux:
git submodule init
git submodule update
2018-04-05 12:34:27 +02:00
ln -s ~/.dotfiles/tmux ~/.tmux
ln -s ~/.dotfiles/tmux/.tmux.conf ~/.tmux.conf
2018-04-05 12:34:27 +02:00
vim:
ln -s ~/.dotfiles/vim ~/.vim
2018-04-05 13:14:10 +02:00
ln -s ~/.dotfiles/vim/.vimrc ~/.vimrc
2018-10-05 21:50:24 +02:00
# sudo pip3 uninstall greenlet
2018-04-05 12:34:27 +02:00
sudo pip3 install neovim
2018-04-05 13:14:10 +02:00
#sudo pip2 uninstall greenlet
2018-04-05 12:34:27 +02:00
sudo pacman -S python-greenlet
2018-04-07 04:50:06 +02:00
mkdir -p ~/.dotfiles/vim/.swp
mkdir -p ~/.dotfiles/vim/.undo
mkdir -p ~/.dotfiles/vim/.backup
2018-04-05 12:34:27 +02:00
git:
2018-04-07 04:50:06 +02:00
rm ~/.gitconfig || echo
rm ~/.gitmessage || echo
2018-04-05 12:34:27 +02:00
ln -s ~/.dotfiles/.gitconfig ~/.gitconfig
ln -s ~/.dotfiles/.gitmessage ~/.gitmessage
2018-04-05 12:34:27 +02:00
2018-04-05 14:17:45 +02:00
xresources:
2018-04-05 14:18:37 +02:00
rm ~/.Xresources
2018-04-05 14:17:45 +02:00
ln -s ~/.dotfiles/.Xresources ~/.Xresources
2018-05-16 17:00:31 +02:00
xcompose:
2018-05-16 17:33:45 +02:00
rm ~/.XCompose || true
ln -s ~/.dotfiles/.XCompose ~/.XCompose
2018-05-16 17:00:31 +02:00
2018-07-12 08:21:57 +02:00
albert:
ln -s ~/.dotfiles/albert ~/.config/albert
2018-04-05 14:17:45 +02:00
2018-04-05 12:34:27 +02:00
zsh:
cd ~/.dotfiles/zsh/ && git submodule init && git submodule update --recursive
rm ~/.zim || echo
2018-04-05 12:34:27 +02:00
ln -s ~/.dotfiles/zsh ~/.zim
cd ~/.dotfiles
2018-04-05 12:34:27 +02:00
zsh zimsetup.zsh
rm ~/.zimrc || echo
ln -s ~/.dotfiles/.zimrc ~/.zimrc
2018-04-05 12:34:27 +02:00
2018-04-08 13:21:36 +02:00
compton:
ln -s ~/.dotfiles/.compton.conf ~/.compton.conf
2018-04-05 14:08:05 +02:00
i3: dep
2018-04-05 12:34:27 +02:00
ln -s ~/.dotfiles/i3 ~/.config/i3
2018-04-05 16:17:46 +02:00
cd i3/conf/ && ./build.sh
2018-04-05 12:34:27 +02:00
2018-04-07 03:51:01 +02:00
mutt: dep
ln -s ~/.dotfiles/mutt/.muttrc ~/.muttrc
ln -s ~/.dotfiles/mutt/.mailcap ~/.mailcap
2018-07-12 08:21:57 +02:00
.PHONY: clean zsh git vim tmux i3 albert
2018-04-05 12:34:27 +02:00
clean:
2018-04-07 03:51:01 +02:00
rm -rf ~/.vim ~/.vimrc ~/.tmux ~/.tmux.conf ~/.gitconfig ~/.config/i3 ~/.muttrc
rm -rf ~/.zshrc ~/.zimrc ~/.zim ~/.zlogin ~/.compton.conf
2018-10-05 21:50:24 +02:00
rm -rf ~/.mailcap ~/.zsh
rm -rf ~/.config/albert
rm -rf /tmp/makedir/
2018-04-05 12:34:27 +02:00
2018-04-05 14:08:05 +02:00
dep:
git clone https://aur.archlinux.org/powerline-fonts-git.git /tmp/makedir/powerline-font
cd /tmp/makedir/powerline-font && makepkg -Acsi
git clone https://aur.archlinux.org/bumblebee-status-git.git /tmp/makedir/bumblebee
cd /tmp/makedir/bumblebee && makepkg -Acsi
2018-04-07 03:51:01 +02:00
sudo pacman -S awesome-terminal-fonts perl-anyevent-i3 perl-json-xs w3m
2018-04-05 14:08:05 +02:00
2018-07-12 08:21:57 +02:00
all: clean tmux vim git zsh i3 mutt xresources compton albert