diff options
Diffstat (limited to '')
-rw-r--r-- | xmonad/Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/xmonad/Makefile b/xmonad/Makefile index afb5a4b..0cb5a50 100644 --- a/xmonad/Makefile +++ b/xmonad/Makefile @@ -11,11 +11,25 @@ install: mkdir -p -- ~/.config/X11/xinit/xinitrc.d test ! -d ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xmonad ln -sf -- ~/.dotfiles/xmonad/xinit ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xmonad + pacman -Qq -- general-preprocessor </dev/null >/dev/null + pacman -Qq -- xpybar </dev/null >/dev/null + mkdir -p -- ~/.xmonad + test ! -d ~/.xmonad/xmonad.hs + make xmonad.hs + ln -sf -- ~/.dotfiles/xmonad/xmonad.hs ~/.xmonad/xmonad.hs + xmonad --recompile + +include xmonad.mk uninstall: -unlink -- ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xmonad -rmdir -- ~/.config/X11/xinit/xinitrc.d -rmdir -- ~/.config/X11/xinit -rmdir -- ~/.config/X11 + -rm -rf -- ~/.xmonad + -make clean + +clean: + -rm -f xmonad.hs -.PHONY: install uninstall +.PHONY: install uninstall clean |