Last active
July 16, 2024 19:55
-
-
Save BuddhiLW/5f43e75c81a56106d04cea6bbce0a238 to your computer and use it in GitHub Desktop.
Install xwinwrap from source
This file contains hidden or 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
#!/usr/bin/bash | |
if [ -z "$DOTFILES" ]; then | |
TMP=$(mktemp -d) | |
DELETE_TMP=true | |
else | |
TMP="$DOTFILES/gitthings/" | |
DELETE_TMP=false | |
fi | |
mkdir -p $TMP | |
cd $TMP | |
sudo apt-get install xorg-dev build-essential libx11-dev x11proto-xext-dev libxrender-dev libxext-dev | |
git clone https://github.com/mmhobi7/xwinwrap.git | |
cd xwinwrap | |
make | |
sudo make install | |
make clean | |
if $DELETE_TMP; then | |
rm -rf $TMP | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment