dotfiles/Makefile

44 lines
1.4 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
chmod +x $(DOTFILES)/deploy.sh
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
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-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 15:13:12 +00:00
git clone https://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh
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
2016-09-12 16:00:17 +01:00
hot-fix:
2016-07-23 16:46:44 +01:00
sudo ln -sfP /usr/bin/python2 /usr/bin/python # Set the default python version to be python 2
2016-07-23 19:55:36 +01:00
.PHONY: apt bash bin config gnome yaourt pacman hot-fix