From a1d6fc2f3e6ab041cc51cb085ac59a646a126d25 Mon Sep 17 00:00:00 2001 From: Peter Son Struschka Date: Wed, 29 Jul 2020 16:40:02 +0800 Subject: basics+bspwm+herbstluftwm+i3wm+meta+polybar+xmonad: wm configs overhaul Created polybar as its own config instead of duplicated in bspwm and i3's directories allowing them both to be installed. Created herbstluftwm, xmonad window manager configs. Added scripts for a status bar, and fixed scripts. --- Makefile | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 469be25..5e18912 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ -all_files := basics emacs spacemacs doom-emacs git i3wm bspwm vim nvim tmux x zsh fish +special_files := git nvim tmux zsh simple_files := emacs spacemacs doom-emacs vim fish +pkg_dependent_files := basics i3wm bspwm herbstluftwm xmonad x polybar +all_files := $(special_files) $(simple_files) $(pkg_dependent_files) .PHONY: $(all_files) @@ -11,27 +13,15 @@ BASE_DIR := $(patsubst %/,%,$(dir $(MAKEFILE_PATH))) $(simple_files): stow -t ~ $@ -# special install rules -basics: yay - yay -Q - < meta/basic_deps || yay -S --needed - < meta/basic_deps - stow -t ~ $@ - -x: yay - pacman -Q - < meta/x_deps || yay -S --needed - < meta/x_deps +$(pkg_dependent_files): yay + yay -Q - < meta/$@_deps || yay -S --needed - < meta/$@_deps stow -t ~ $@ +# special install rules git: pacman -Q git || sudo pacman -S git stow -t ~ $@ -i3wm: yay - pacman -Q - < meta/i3wm_deps || yay -S --needed - < meta/i3wm_deps - stow -t ~ $@ - -bspwm: yay - pacman -Q - < meta/bspwm_deps || yay -S --needed - < meta/bspwm_deps - stow -t ~ $@ - yay: git pacman -Q yay || (git clone aur:yay && pushd yay && makepkg -si && popd) -- cgit v1.2.3