aboutsummaryrefslogtreecommitdiffstats
path: root/xmonad/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-25 16:42:47 +0200
committerMattias Andrée <maandree@kth.se>2021-06-25 16:42:47 +0200
commitfb0db5d269ff178322dc23ae6c18049f3f8b9772 (patch)
tree0d716908ea2b33adb4853491e3c5d8a3d9cb6f6b /xmonad/Makefile
parentm (diff)
downloaddotfiles-fb0db5d269ff178322dc23ae6c18049f3f8b9772.tar.gz
dotfiles-fb0db5d269ff178322dc23ae6c18049f3f8b9772.tar.bz2
dotfiles-fb0db5d269ff178322dc23ae6c18049f3f8b9772.tar.xz
Let main Makefile select package manager
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'xmonad/Makefile')
-rw-r--r--xmonad/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/xmonad/Makefile b/xmonad/Makefile
index 35ddcd0..4003b95 100644
--- a/xmonad/Makefile
+++ b/xmonad/Makefile
@@ -1,18 +1,19 @@
.POSIX:
+include ../common.mk
XINITRC_ORDER = 80
install:
- pacman -Qq -- xwallpaper </dev/null >/dev/null
- pacman -Qq -- xcman </dev/null >/dev/null
- pacman -Qq -- pdeath </dev/null >/dev/null
- pacman -Qq -- mate-panel </dev/null >/dev/null
- -pacman -Qq -- mate-settings-daemon </dev/null >/dev/null
+ $(CHECK_INSTALLED) xwallpaper
+ $(CHECK_INSTALLED) xcman
+ $(CHECK_INSTALLED) pdeath
+ $(CHECK_INSTALLED) mate-panel
+ -$(CHECK_INSTALLED) mate-settings-daemon
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
+ $(CHECK_INSTALLED) general-preprocessor
+ $(CHECK_INSTALLED) xpybar
mkdir -p -- ~/.xmonad
test ! -d ~/.xmonad/xmonad.hs
ln -sf -- ~/.dotfiles/xmonad/xmonad.hs ~/.xmonad/xmonad.hs