aboutsummaryrefslogtreecommitdiffstats
path: root/xmonad/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-26 14:10:25 +0200
committerMattias Andrée <maandree@kth.se>2021-06-26 14:10:25 +0200
commit37f398160ba387b84e811b2f2d69d467d793e3da (patch)
treee0c8cb2a4cf9fb864fd7170407fe901759066da9 /xmonad/Makefile
parentAdd radharc wrapper, iswork bin, and secret bins (diff)
downloaddotfiles-37f398160ba387b84e811b2f2d69d467d793e3da.tar.gz
dotfiles-37f398160ba387b84e811b2f2d69d467d793e3da.tar.bz2
dotfiles-37f398160ba387b84e811b2f2d69d467d793e3da.tar.xz
Add xmonad-autofocus-output
Signed-off-by: Mattias Andrée <maandree@kth.se>
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