dotfiles/Makefile

68 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
2021-11-18 14:43:07 +01:00
grobi:
rm ~/.config/grobi.conf || true
ln -s ~/.dotfiles/grobi/grobi.conf ~/.config/grobi.conf
2022-03-19 23:20:43 +01:00
polybar:
ln -s ~/.dotfiles/polybar ~/.config/polybar
2021-11-18 14:43:07 +01:00
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
2022-04-04 23:17:03 +02:00
mkdir -p ~/.config/nvim || true
ln -s ~/.dotfiles/vim/nvim-init.vim ~/.config/nvim/init.vim
2018-04-05 12:34:27 +02:00
sudo pip3 install neovim
2021-02-08 23:00:46 +01:00
sudo pacman -S python-greenlet || true
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
2021-02-09 06:23:06 +01:00
redshift:
mkdir -p ~/.config/redshift
ln -s ~/.dotfiles/redshift.conf ~/.config/redshift/redshift.conf
2021-02-09 02:10:11 +01:00
gnupg:
2021-02-09 23:51:25 +01:00
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
2018-04-05 14:17:45 +02:00
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
2018-04-05 12:34:27 +02:00
2022-04-04 23:16:40 +02:00
picom:
ln -s ~/.dotfiles/picom ~/.config/picom
2018-04-08 13:21:36 +02:00
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
2022-03-19 23:20:43 +01:00
.PHONY: clean zsh git vim tmux i3 albert gnupg grobi polybar
2018-04-05 12:34:27 +02:00
clean:
2019-09-25 14:06:02 +02:00
rm -rf ~/.vim ~/.vimrc ~/.tmux ~/.tmux.conf ~/.gitconfig ~/.config/i3
2022-04-04 23:16:40 +02:00
rm -rf ~/.zshrc ~/.zimrc ~/.zim ~/.zlogin ~/.config/picom
2021-02-09 02:10:11 +01:00
rm -rf ~/.mailcap ~/.zsh
rm -rf ~/.config/albert
rm -rf /tmp/makedir/
2018-04-05 12:34:27 +02:00
2021-02-09 02:10:11 +01:00
all: clean zsh git vim tmux