aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Son Struschka <me@peter-struschka.com>2020-07-29 16:40:02 +0800
committerPeter Son Struschka <me@peter-struschka.com>2020-07-29 16:48:22 +0800
commita1d6fc2f3e6ab041cc51cb085ac59a646a126d25 (patch)
treeb1ca8b11365cd255dd2f93a47dd0e918e1dae16a /Makefile
parent556bbd7fd182937e32eb5320a27ba337ac454be0 (diff)
downloaddotfiles-a1d6fc2f3e6ab041cc51cb085ac59a646a126d25.tar.gz
dotfiles-a1d6fc2f3e6ab041cc51cb085ac59a646a126d25.tar.bz2
dotfiles-a1d6fc2f3e6ab041cc51cb085ac59a646a126d25.tar.lz
dotfiles-a1d6fc2f3e6ab041cc51cb085ac59a646a126d25.tar.xz
dotfiles-a1d6fc2f3e6ab041cc51cb085ac59a646a126d25.tar.zst
dotfiles-a1d6fc2f3e6ab041cc51cb085ac59a646a126d25.zip
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 6 insertions, 16 deletions
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)