build-i3gaps.sh 585 B

12345678910111213
  1. #!/usr/bin/env bash
  2. set -euo pipefail # bash strict mode
  3. sudo apt-get purge i3
  4. sudo apt-get install -y meson dh-autoreconf libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev xcb libxcb1-dev libxcb-icccm4-dev libyajl-dev libev-dev libxcb-xkb-dev libxcb-cursor-dev libxkbcommon-dev libxcb-xinerama0-dev libxkbcommon-x11-dev libstartup-notification0-dev libxcb-randr0-dev libxcb-xrm0 libxcb-xrm-dev libxcb-shape0 libxcb-shape0-dev
  5. git clone https://github.com/Airblader/i3.git /tmp/i3-gaps
  6. cd /tmp/i3-gaps
  7. mkdir -p build && cd build
  8. meson --prefix /usr/local
  9. ninja
  10. sudo ninja install