diff options
author | Bradley Taunt <bt@btxx.org> | 2024-01-23 15:20:13 -0500 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-01-23 15:20:13 -0500 |
commit | f56fc53c62d1a27c9fc61eaf5b1b6675ee89e79e (patch) | |
tree | 47bd6ddcce09bb9eb732a8b3c3acb53612f22a18 /install.sh |
Initial commit on cgit platform
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..265b5d8 --- /dev/null +++ b/install.sh @@ -0,0 +1,50 @@ +#!/bin/bash + +if [ "$EUID" -ne 0 ] + then echo "The script has to be run as root." + exit +fi + +mkdir /home/bt/.suckless +cd /home/bt/.suckless + +git clone https://git.sr.ht/~bt/dwmo +cd dwmo +echo "Installing dwm" +rm -rf config.h +make clean install +cd .. + +git clone https://git.sr.ht/~bt/dmenuo +cd dmenuo +echo "Installing dmenu" +rm -rf config.h +make clean install +cd .. + +git clone https://git.sr.ht/~bt/slstatuso +cd slstatuso +echo "Installing slstatus" +rm -rf config.h +make clean install +cd .. + +git clone https://git.sr.ht/~bt/sto +cd sto +echo "Installing st" +rm -rf config.h +make clean install +cd .. + +git clone https://git.sr.ht/~bt/slocko +cd slocko +echo "Installing slock" +rm -rf config.h +make clean install +cd .. +cd .. + +rcctl enable apmd +rcctl start apmd + +echo "Install finished. You should reboot the machine now." |