X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/f34ad2e08a60312bd2d32833bf257e7d8fe806b2..2bc5cc531c50d87c208965cdc80c0f42df56ecb1:/Makefile diff --git a/Makefile b/Makefile index e08bed2..d59f59a 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ XDG_CACHE_HOME ?= ~/.cache XDG_DATA_HOME ?= ~/.local/share FILES := bin -DOTFILES := goobookrc profile tmux.conf Xresources -CONFIGFILES := compton.conf mpv offlineimap ranger retroarch xbindkeys xkb +DOTFILES := goobookrc profile Xresources +CONFIGFILES := mpv offlineimap ranger retroarch xbindkeys xkb .PHONY: core_files core_files: dircolors git ssh systemd vim zsh @@ -43,8 +43,21 @@ gnupg: systemd chmod 700 $(XDG_CONFIG_HOME)/$@ systemctl --user enable gpg-agent.socket gpg-agent-extra.socket gpg-agent-browser.socket dirmngr.socket systemctl --user start gpg-agent.socket gpg-agent-extra.socket gpg-agent-browser.socket dirmngr.socket + sudo ln -sfT $(APATH)/bin/pinentry /usr/local/bin/pinentry .PHONY: gnupg +khal: $(XDG_CONFIG_HOME) + ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@ +.PHONY: khal + +khard: $(XDG_CONFIG_HOME) + ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@ +.PHONY: khard + +kitty: + ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@ +.PHONY: kitty + mpd: systemd ln -sfT $(APATH)/mpd $(XDG_CONFIG_HOME)/mpd mkdir -p $(XDG_DATA_HOME)/mpd/playlists @@ -73,6 +86,14 @@ ncmpcpp: $(XDG_CONFIG_HOME) mkdir -p $(XDG_DATA_HOME)/mpd/lyrics .PHONY: ncmpcpp +pacman: $(XDG_CONFIG_HOME) + ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@ +.PHONY: pacman + +picom: $(XDG_CONFIG_HOME) + ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@ +.PHONY: picom + qute_scripts := $(wildcard qutebrowser/userscripts/*) $(qute_scripts): mkdir -p $(XDG_DATA_HOME)/qutebrowser/userscripts @@ -84,6 +105,10 @@ qutebrowser: $(XDG_CONFIG_HOME) $(qute_scripts) mkdir -p ~/downloads .PHONY: qutebrowser +rofi: $(XDG_CONFIG_HOME) + ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@ +.PHONY: rofi + ssh: ln -sfT $(APATH)/ssh/config ~/.ssh/config .PHONY: ssh @@ -96,10 +121,19 @@ task: $(XDG_CONFIG_HOME) ln -sfT $(APATH)/taskrc $(XDG_CONFIG_HOME)/taskrc .PHONY: task +tmux: $(XDG_CONFIG_HOME) + ln -sfT $(APATH)/tmux $(XDG_CONFIG_HOME)/tmux +.PHONY: tmux + urxvt: $(XDG_CONFIG_HOME) ln -sfT $(APATH)/urxvt $(XDG_CONFIG_HOME)/urxvt .PHONY: urxvt +vdirsyncer: $(XDG_CACHE_HOME) + ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@ + mkdir -p $(XDG_DATA_HOME)/vdirsyncer/{contacts,calendars} +.PHONY: vdirsyncer + vim: $(XDG_CONFIG_HOME) ln -sfT $(APATH)/vim $(XDG_CONFIG_HOME)/vim mkdir -p $(XDG_DATA_HOME)/vim @@ -115,6 +149,10 @@ xinit: $(XDG_CONFIG_HOME) ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@ .PHONY: xinit +wakeonlan: $(XDG_CONFIG_HOME) + ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@ +.PHONY: wakeonlan + weechat: $(XDG_CONFIG_HOME) $(XDG_CACHE_HOME) ln -sfT $(APATH)/weechat $(XDG_CONFIG_HOME)/weechat mkdir -p $(XDG_CACHE_HOME)/weechat @@ -128,6 +166,7 @@ zsh: $(XDG_CONFIG_HOME) ln -sfT $(APATH)/aliases $(XDG_CONFIG_HOME)/aliases mkdir -p $(XDG_CACHE_HOME)/zsh mkdir -p $(XDG_DATA_HOME)/zsh + git submodule update --init zsh/lib/zsh-syntax-highlighting .PHONY: zsh $(FILES):