-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.home
28 lines (18 loc) · 1.38 KB
/
Makefile.home
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.PHONY: bin conffiles update
bin: bin/darkmode.sh bin/lightmode.sh bin/emojiselect bin/lock.sh bin/rotdir bin/screencast.sh bin/suspend.sh bin/tm bin/wtime bin/starthyprland.sh bin/network-menu.sh bin/linkhandler bin/colorargs.sh bin/buku-dmenu bin/newmail bin/curmail bin/vpn-knaw.sh bin/runsteam
bin/darkmode.sh bin/lightmode.sh bin/emojiselect bin/lock.sh bin/rotdir bin/screencast.sh bin/suspend.sh bin/tm bin/wtime bin/starthyprland.sh bin/network-menu.sh bin/linkhandler bin/colorargs.sh bin/buku-dmenu bin/newmail bin/curmail bin/vpn-knaw.sh bin/runsteam:
ln -sf ~/dotfiles/scripts/$(shell basename "$@") $@
all: bin conffiles .oh-my-zsh .oh-my-zsh/themes/proysh.zsh-theme .oh-my-zsh/plugins/zsh-autosuggestions
conffiles: .zshrc .urlview .muttrc .mailcap .signature .signature.ru.txt .signature.knaw.txt .signature.unilang .tmux.conf .tmux-powerlinerc .tmux .tigrc
.zshrc .urlview .muttrc .mailcap .signature .signature.ru.txt .signature.knaw.txt .signature.unilang .tmux.conf .tmux-powerlinerc .tmux .tigrc:
ln -sf ~/dotfiles/$(shell echo $@ | sed s/^\.//) $@
update: oh-my-zsh
cd oh-my-zsh && git pull
oh-my-zsh:
git clone https://github.com/ohmyzsh/ohmyzsh.git oh-my-zsh
.oh-my-zsh: oh-my-zsh
ln -sf $< $@
.oh-my-zsh/themes/proysh.zsh-theme: .oh-my-zsh
ln -sf ~/dotfiles/proysh.zsh-theme $@
.oh-my-zsh/plugins/zsh-autosuggestions: .oh-my-zsh
ln -s ~/dotfiles/zsh-autosuggestions/