Skip to content

Instantly share code, notes, and snippets.

@graves501
Last active January 15, 2019 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save graves501/0120c0b7b110ead1c86a4cdd0bf4c2a8 to your computer and use it in GitHub Desktop.
Save graves501/0120c0b7b110ead1c86a4cdd0bf4c2a8 to your computer and use it in GitHub Desktop.
i3-gaps Ubuntu 18.04 Install Script
#!/bin/bash
sudo apt install -y libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev autoconf libxcb-xrm0 libxcb-xrm-dev automake libxcb-shape0-dev
# Make sure the repositories folder exists
mkdir -p $HOME/Repositories
# Clone the repository
cd $HOME/Repositories
git clone https://www.github.com/Airblader/i3 i3-gaps
cd i3-gaps
# compile & install
autoreconf --force --install
rm -rf build/
mkdir -p build && cd build/
# Disabling sanitizers is important for release versions!
# The prefix and sysconfdir are, obviously, dependent on the distribution.
../configure --prefix=/usr --sysconfdir=/etc --disable-sanitizers
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment