66 lines
1.7 KiB
Makefile
66 lines
1.7 KiB
Makefile
tmux:
|
|
git submodule init
|
|
git submodule update
|
|
ln -s ~/.dotfiles/tmux ~/.tmux
|
|
ln -s ~/.dotfiles/tmux/.tmux.conf ~/.tmux.conf
|
|
|
|
grobi:
|
|
rm ~/.config/grobi.conf || true
|
|
ln -s ~/.dotfiles/grobi/grobi.conf ~/.config/grobi.conf
|
|
polybar:
|
|
ln -s ~/.dotfiles/polybar ~/.config/polybar
|
|
|
|
vim:
|
|
ln -s ~/.dotfiles/vim ~/.vim
|
|
ln -s ~/.dotfiles/vim/.vimrc ~/.vimrc
|
|
sudo pip3 install neovim
|
|
sudo pacman -S python-greenlet || true
|
|
mkdir -p ~/.dotfiles/vim/.swp
|
|
mkdir -p ~/.dotfiles/vim/.undo
|
|
mkdir -p ~/.dotfiles/vim/.backup
|
|
|
|
git:
|
|
rm ~/.gitconfig || echo
|
|
rm ~/.gitmessage || echo
|
|
ln -s ~/.dotfiles/.gitconfig ~/.gitconfig
|
|
ln -s ~/.dotfiles/.gitmessage ~/.gitmessage
|
|
|
|
redshift:
|
|
mkdir -p ~/.config/redshift
|
|
ln -s ~/.dotfiles/redshift.conf ~/.config/redshift/redshift.conf
|
|
|
|
gnupg:
|
|
rm ~/.gnupg/gpg.conf || true
|
|
rm ~/.gnupg/sshcontrol || true
|
|
rm ~/.gnupg/gpg-agent.conf || true
|
|
ln -s ~/.dotfiles/gnupg/gpg.conf ~/.gnupg/gpg.conf
|
|
ln -s ~/.dotfiles/gnupg/sshcontrol ~/.gnupg/sshcontrol
|
|
ln -s ~/.dotfiles/gnupg/gpg-agent.conf ~/.gnupg/gpg-agent.conf
|
|
|
|
|
|
zsh:
|
|
rm -rf ~/.zim || true
|
|
cd ~/.dotfiles
|
|
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
|
|
rm ~/.zimrc || true
|
|
rm ~/.zshrc || true
|
|
ln -s ~/.dotfiles/.zimrc ~/.zimrc
|
|
ln -s ~/.dotfiles/.zshrc ~/.zshrc
|
|
|
|
picom:
|
|
ln -s ~/.dotfiles/picom ~/.config/picom
|
|
|
|
i3: dep
|
|
ln -s ~/.dotfiles/i3 ~/.config/i3
|
|
cd i3/conf/ && ./build.sh
|
|
|
|
.PHONY: clean zsh git vim tmux i3 albert gnupg grobi polybar
|
|
clean:
|
|
rm -rf ~/.vim ~/.vimrc ~/.tmux ~/.tmux.conf ~/.gitconfig ~/.config/i3
|
|
rm -rf ~/.zshrc ~/.zimrc ~/.zim ~/.zlogin ~/.config/picom
|
|
rm -rf ~/.mailcap ~/.zsh
|
|
rm -rf ~/.config/albert
|
|
rm -rf /tmp/makedir/
|
|
|
|
all: clean zsh git vim tmux
|