Skip to content

Instantly share code, notes, and snippets.

@jeffgreenca
Created October 29, 2018 18:51
Show Gist options
  • Save jeffgreenca/2ba36168cac4ae060cab065cd0b207aa to your computer and use it in GitHub Desktop.
Save jeffgreenca/2ba36168cac4ae060cab065cd0b207aa to your computer and use it in GitHub Desktop.
#!/bin/sh
# from https://i3wm.org/docs/repositories.html
/usr/lib/apt/apt-helper download-file http://debian.sur5r.net/i3/pool/main/s/sur5r-keyring/sur5r-keyring_2018.01.30_all.deb keyring.deb SHA256:baa43dbbd7232ea2b5444cae238d53bebb9d34601cc000e82f11111b1889078a
dpkg -i ./keyring.deb
echo "deb http://debian.sur5r.net/i3/ $(grep '^DISTRIB_CODENAME=' /etc/lsb-release | cut -f2 -d=) universe" >> /etc/apt/sources.list.d/sur5r-i3.list
apt update && apt install i3 -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment