- #!/usr/bin/env bash
- set -euo pipefail # bash strict mode
- sudo apt-get purge i3
- 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
- git clone https://github.com/Airblader/i3.git /tmp/i3-gaps
- cd /tmp/i3-gaps
- mkdir -p build && cd build
- meson --prefix /usr/local
- ninja
- sudo ninja install
|