From fb0db5d269ff178322dc23ae6c18049f3f8b9772 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 25 Jun 2021 16:42:47 +0200 Subject: Let main Makefile select package manager MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- xmonad/Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'xmonad') 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 - pacman -Qq -- xcman /dev/null - pacman -Qq -- pdeath /dev/null - pacman -Qq -- mate-panel /dev/null - -pacman -Qq -- mate-settings-daemon /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 - pacman -Qq -- xpybar /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 -- cgit v1.2.3-70-g09d2