-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/sh -e | ||
|
||
makeDWM(){ | ||
cd $HOME && git clone https://github.com/ChrisTitusTech/dwm-titus.git # CD to Home directory to install dwm-titus | ||
# This path can be changed (e.g. to linux-toolbox directory) | ||
cd dwm-titus/ # Hardcoded path, maybe not the best. | ||
sudo ./setup.sh # Run setup | ||
sudo make clean install # Run make clean install | ||
} | ||
|
||
setupDWM() { | ||
echo "Installing DWM-Titus if not already installed" | ||
case "$PACKAGER" in # Install pre-Requisites | ||
pacman) | ||
sudo "$PACKAGER" -S --noconfirm --needed base-devel libx11 libxinerama libxft imlib2 | ||
;; | ||
*) | ||
sudo "$PACKAGER" install -y build-essential libx11-dev libxinerama-dev libxft-dev libimlib2-dev | ||
;; | ||
esac | ||
|
||
} | ||
|
||
checkEnv | ||
setupDWM | ||
makeDWM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters