merge yash into shell, Makefile: update dwm, st and other instalation
This commit is contained in:
17
Makefile
17
Makefile
@@ -1,7 +1,7 @@
|
||||
all:
|
||||
@echo "run: make clone build install"
|
||||
|
||||
clone: ~/.local/share/zap dwm st
|
||||
clone: dwm st
|
||||
|
||||
build: build-dwm build-st build-lupan-clock
|
||||
|
||||
@@ -14,7 +14,10 @@ install: install-dwm install-st install-lupan-clock install-other
|
||||
|
||||
dwm:
|
||||
git clone https://git.suckless.org/dwm
|
||||
cp -i patches/dwm/config.h dwm/
|
||||
cd dwm && \
|
||||
git remote add lupan.pl https://gitea.lupan.pl/lupan/dwm.git && \
|
||||
git fetch lupan.pl && \
|
||||
git checkout -b wip --track lupan.pl/wip
|
||||
|
||||
build-dwm:
|
||||
make -C dwm
|
||||
@@ -27,19 +30,21 @@ st:
|
||||
cd st && \
|
||||
git remote add lupan.pl https://gitea.lupan.pl/lupan/st.git && \
|
||||
git fetch lupan.pl && \
|
||||
git checkout -b patched --track lupan.pl/patched
|
||||
git checkout -b patched-4 --track lupan.pl/patched-4
|
||||
|
||||
build-st:
|
||||
make -C st
|
||||
|
||||
install-st:
|
||||
make -C st install PREFIX="${HOME}/.local"
|
||||
make -C st install PREFIX="${HOME}/.local/stow/st"
|
||||
stow -d ~/.local/stow st
|
||||
|
||||
build-lupan-clock:
|
||||
make -C lupan-clock
|
||||
|
||||
install-lupan-clock:
|
||||
make -C lupan-clock install PREFIX="${HOME}/.local"
|
||||
make -C lupan-clock install PREFIX="${HOME}/.local/stow/dwm"
|
||||
stow -d ~/.local/stow dwm
|
||||
|
||||
install-other:
|
||||
stow -Rv shell tmux xsession nvim
|
||||
stow -Rv lazygit shell tmux vis xsession
|
||||
|
||||
Reference in New Issue
Block a user