dotfiles/Makefile

50 lines
1.8 KiB
Makefile
Raw Normal View History

2016-07-23 16:46:44 +01:00
DOTFILES=$(PWD)
2016-07-23 19:55:36 +01:00
install: apt bash bin config gnome yaourt
2016-07-23 16:46:44 +01:00
2016-07-23 19:55:36 +01:00
bin:
chmod +x $(DOTFILES)/bin/*
2016-07-23 16:46:44 +01:00
bash: yaourt
ln -sfP $(DOTFILES)/bash/.bashrc ~/.bashrc
2016-11-19 22:04:40 +00:00
ln -sfP $(DOTFILES)/bash/.zshrc ~/.zshrc
mkdir -p ~/.nvm/
2016-07-23 16:46:44 +01:00
ln -sfP /usr/share/nvm/init-nvm.sh ~/.nvm/nvm.sh
2016-11-19 15:13:12 +00:00
config: yaourt
2016-07-23 16:46:44 +01:00
mkdir -p ~/.config/terminator
2016-11-29 22:17:29 +00:00
mkdir -p ~/.config/uniemoji/
2016-11-07 21:13:58 +00:00
ln -sfP $(DOTFILES)/config/terminator.conf ~/.config/terminator/config
sudo ln -sfP $(DOTFILES)/config/libinput-gestures.conf /etc/libinput-gestures.conf
2016-11-14 18:30:47 +00:00
git config --global core.excludesfile ~/.dotfiles/config/gitignore_global
2016-11-19 22:49:34 +00:00
git clone https://github.com/amix/vimrc.git ~/.vim_runtime || cd ~/.vim_runtime && git pull
2017-01-09 09:19:34 +00:00
vim +PluginInstall +qall
2016-11-19 22:49:34 +00:00
ln -sfP $(DOTFILES)/config/vimrc ~/.vimrc
2016-11-29 22:17:29 +00:00
ln -sfP $(DOTFILES)/config/uniemoji.json ~/.config/uniemoji/custom.json
2016-12-27 23:34:13 +00:00
ln -sfP $(DOTFILES)/config/assh.yml ~/.ssh/assh.yml
2016-07-23 16:46:44 +01:00
gnome: yaourt
rm -rf ~/Templates/*
ln -sfP $(DOTFILES)/gnome/Templates/* ~/Templates/
gsettings set org.gnome.desktop.interface show-battery-percentage true
2016-07-23 16:46:44 +01:00
yaourt: pacman
2016-07-23 16:46:44 +01:00
yaourt -Syau # Install any updates before extra packages
yaourt -S `cat $(DOTFILES)/yaourt/packages.conf` --needed
ln -sfP $(DOTFILES)/yaourt/.yaourtrc ~/.yaourtrc
pacman:
gpg --recv-keys F7E48EDB # Add custom key for ncurses
sudo ln -sfP $(DOTFILES)/yaourt/pacman.conf /etc/pacman.conf
sudo pacman-key -r 962DDE58
sudo pacman-key --lsign-key 962DDE58
gpg --keyserver pool.sks-keyservers.net --recv-keys 2E1AC68ED40814E0 # gotta be a way to add to pacman, not my GPG
2017-01-20 11:24:37 +00:00
fonts: yaourt
ln -s /etc/fonts/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d
ln -s /etc/fonts/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d
ln -s /etc/fonts/conf.avail/30-infinality-aliases.conf /etc/fonts/conf.d
gdk-pixbuf-query-loaders --update-cache
.PHONY: apt bash bin config gnome yaourt pacman fonts