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 [ -n $(command -v brew) ] | |
then | |
echo "Brew is installed" | |
echo "Continuing with brew-buf install" | |
brew install bufbuild/buf/buf | |
else | |
echo "Brew not installed" |
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
#!/bin/bash | |
# Download and extract the file, and capture the output of tar | |
output=$(wget -qO- https://dl.pstmn.io/download/latest/linux_64 | tar xzvf - 2>&1) | |
status=$? | |
# Check if the command was successful | |
if [ $status -eq 0 ]; then | |
echo "Download and extraction successful." | |
echo "$output" # Print the captured output if needed |
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
#!/bin/bash | |
## Dependencies | |
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386 | |
## Where you would like to install the Android Stufio | |
cd $DOTFILES/gitthings/ | |
wget https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2023.2.1.24/android-studio-2023.2.1.24-linux.tar.gz |
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 |
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
#!/bin/bash | |
mkdir $DOTFILES/tmp && cd $DOTFILES/tmp | |
wget https://cdn.joypixels.com/arch-linux/font/7.0.0/joypixels-android.ttf | |
mv joypixels-android.ttf ~/.local/share/fonts/ | |
fc-cache -vf | |
rm -rf $DOTFILES/tmp |
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 | |
GO_FILE=$(wget -O - https://go.dev/dl/ 2>/dev/null | sed -ne 's@.*\(\/go1\.[0-9]*\.[0-9]*\.linux-amd64\.tar\.gz\).*@\1@p' 2>&1 | head -n 1| tr -d /) | |
URL_DOWNLOAD="https://go.dev/dl/$GO_FILE" | |
echo "URL_DOWNLOAD=$URL_DOWNLOAD" | |
wget "$URL_DOWNLOAD" | |
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf $GO_FILE |
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 | |
mkdir -p $HOME/.config/xmonad && cd $HOME/.config/xmonad | |
git clone https://github.com/xmonad/xmonad | |
git clone https://github.com/xmonad/xmonad-contrib | |
## Install Haskell and Stack package manager for haskell | |
curl -sSL https://get.haskellstack.org/ | sh | |
stack init --force |
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
#!/bin/bash | |
cd $DOTFILES/gitthings/ | |
git clone https://github.com/yshui/picom.git | |
cd picom | |
git submodule update --init --recursive | |
meson setup --buildtype=release . build | |
ninja -C build | |
ninja -C build install |
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 | |
mkdir $DOTFILES/build | |
cd $DOTFILES/build | |
git clone https://github.com/uditkarode/libxft-bgra | |
cd libxft-bgra | |
sh autogen.sh --sysconfdir=/etc --prefix=/usr/local --mandir=/usr/share/man | |
sudo make install | |
rm -rf $DOTFILES/build |
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
#!/bin/bash | |
go install github.com/rwxrob/keg/cmd/keg@latest | |
chmod a+rwx $HOME/.local/bin/keg |