X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/4c75204c6c25fea2cec85857f8f73184f10e1938..529d8a1d5ab6741bef78f2da43eb993a39703074:/Makefile diff --git a/Makefile b/Makefile index 58b9c46..38c08d7 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 @@ -31,7 +31,6 @@ gdb: mkdir $(XDG_DATA_HOME)/gdb ln -sfT $(APATH)/gdb $(XDG_CONFIG_HOME)/gdb ln -sfT $(APATH)/gdbinit ~/.gdbinit - ln -sfT $(APATH)/cgdb ~/.cgdb .PHONY: gdb git: $(XDG_CONFIG_HOME) @@ -41,10 +40,16 @@ git: $(XDG_CONFIG_HOME) gnupg: systemd ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@ + 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 +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,7 +78,17 @@ ncmpcpp: $(XDG_CONFIG_HOME) mkdir -p $(XDG_DATA_HOME)/mpd/lyrics .PHONY: ncmpcpp -qutebrowser: $(XDG_CONFIG_HOME) +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 + ln -sfT $(APATH)/$@ $(XDG_DATA_HOME)/$@ +.PHONY: $(qute_scripts) + +qutebrowser: $(XDG_CONFIG_HOME) $(qute_scripts) ln -sfT $(APATH)/qutebrowser $(XDG_CONFIG_HOME)/qutebrowser mkdir -p ~/downloads .PHONY: qutebrowser @@ -90,6 +105,10 @@ 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 @@ -109,6 +128,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 @@ -122,6 +145,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):