aboutsummaryrefslogtreecommitdiffstats
path: root/xmonad/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-25 16:02:27 +0200
committerMattias Andrée <maandree@kth.se>2021-06-25 16:02:27 +0200
commit92765544ab8ef4e23e7ce5183e073f567ae7f36f (patch)
tree71b289a69aa5d83e64587697186102c2e7f43565 /xmonad/Makefile
parentUse asroot instead of sudo and add emacs configs (diff)
downloaddotfiles-92765544ab8ef4e23e7ce5183e073f567ae7f36f.tar.gz
dotfiles-92765544ab8ef4e23e7ce5183e073f567ae7f36f.tar.bz2
dotfiles-92765544ab8ef4e23e7ce5183e073f567ae7f36f.tar.xz
m + add claws-mail and xmonad + add ~/.hidden
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'xmonad/Makefile')
-rw-r--r--xmonad/Makefile16
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