aboutsummaryrefslogtreecommitdiffstats
path: root/xmonad/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xmonad/Makefile')
-rw-r--r--xmonad/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/xmonad/Makefile b/xmonad/Makefile
index 4003b95..2265823 100644
--- a/xmonad/Makefile
+++ b/xmonad/Makefile
@@ -3,7 +3,7 @@ include ../common.mk
XINITRC_ORDER = 80
-install:
+install: xmonad-autofocus-output
$(CHECK_INSTALLED) xwallpaper
$(CHECK_INSTALLED) xcman
$(CHECK_INSTALLED) pdeath
@@ -18,6 +18,11 @@ install:
test ! -d ~/.xmonad/xmonad.hs
ln -sf -- ~/.dotfiles/xmonad/xmonad.hs ~/.xmonad/xmonad.hs
make xmonad.hs
+ mkdir -p ~/.local/bin
+ ln -sf -- ~/.dotfiles/xmonad/xmonad-autofocus-output ~/.local/bin
+
+xmonad-autofocus-output: xmonad-autofocus-output.c
+ $(CC) -o $@ $@.c -Wall -s -lX11 -lXtst
include xmonad.mk
@@ -30,6 +35,6 @@ uninstall:
-make clean
clean:
- -rm -f xmonad.hs
+ -rm -f xmonad.hs xmonad-autofocus-output
.PHONY: install uninstall clean