From b06937d2a2d027aa5332062de163dfade5643f6c Mon Sep 17 00:00:00 2001 From: Isaac Turner Date: Mon, 27 Nov 2023 21:59:24 +0800 Subject: [PATCH 1/3] add install script for debian based operating systems --- install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..438406f --- /dev/null +++ b/install.sh @@ -0,0 +1,9 @@ +sudo apt install dwm libx11-dev libxinerama-dev libxft-dev libx11-xcb-dev libxcb-res0-dev libx11-dev +cd source/dwm +sudo make install +cd source/dmenu +sudo make install +cd source/slock +sudo make install +cd source/st +sudo make install From 8ddaf832c7fb71536152b9c2fc02a92b2378310d Mon Sep 17 00:00:00 2001 From: Isaac Turner Date: Mon, 27 Nov 2023 22:01:40 +0800 Subject: [PATCH 2/3] add arch build as well --- install-arch.sh | 9 +++++++++ install.sh => install-deb.sh | 0 2 files changed, 9 insertions(+) create mode 100644 install-arch.sh rename install.sh => install-deb.sh (100%) diff --git a/install-arch.sh b/install-arch.sh new file mode 100644 index 0000000..71f9d08 --- /dev/null +++ b/install-arch.sh @@ -0,0 +1,9 @@ +pacman -Syu dwm libx11-dev libxinerama-dev libxft-dev libx11-xcb-dev libxcb-res0-dev libx11-dev +cd source/dwm +sudo make install +cd source/dmenu +sudo make install +cd source/slock +sudo make install +cd source/st +sudo make install diff --git a/install.sh b/install-deb.sh similarity index 100% rename from install.sh rename to install-deb.sh From 6ac15ede1cfac3a6bc6f655da60f2aade3cfaa3d Mon Sep 17 00:00:00 2001 From: Isaac Turner Date: Tue, 28 Nov 2023 11:29:42 +0800 Subject: [PATCH 3/3] fix cd to root --- install-arch.sh | 4 ++++ install-deb.sh | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/install-arch.sh b/install-arch.sh index 71f9d08..367dcb5 100644 --- a/install-arch.sh +++ b/install-arch.sh @@ -1,9 +1,13 @@ pacman -Syu dwm libx11-dev libxinerama-dev libxft-dev libx11-xcb-dev libxcb-res0-dev libx11-dev cd source/dwm sudo make install +cd .. cd source/dmenu sudo make install +cd .. cd source/slock sudo make install +cd .. cd source/st sudo make install +cd .. diff --git a/install-deb.sh b/install-deb.sh index 438406f..cbc3f1c 100755 --- a/install-deb.sh +++ b/install-deb.sh @@ -1,9 +1,13 @@ sudo apt install dwm libx11-dev libxinerama-dev libxft-dev libx11-xcb-dev libxcb-res0-dev libx11-dev cd source/dwm sudo make install +cd .. cd source/dmenu sudo make install +cd .. cd source/slock sudo make install +cd .. cd source/st sudo make install +cd ..