Skip to content

Instantly share code, notes, and snippets.

@justinmklam
Last active March 29, 2019 16:15
Show Gist options
  • Save justinmklam/e2eee702c0ab00f46a6b235a7279baf6 to your computer and use it in GitHub Desktop.
Save justinmklam/e2eee702c0ab00f46a6b235a7279baf6 to your computer and use it in GitHub Desktop.
Handy commands to modify i3
# Add latest repo to ubuntu
/usr/lib/apt/apt-helper download-file http://debian.sur5r.net/i3/pool/main/s/sur5r-keyring/sur5r-keyring_2019.02.01_all.deb keyring.deb SHA256:176af52de1a976f103f9809920d80d02411ac5e763f695327de9fa6aff23f416
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
# Copy config to home directory. Modify ctrl+grave
mkdir ~/.config/dunst
cp /etc/xdg/dunst/dunstrc ~/.config/dunst/dunstrc
# Workaround to restart dunst
killall dunst;notify-send foo
# Add status bar config
mkdir ~/.config/i3status
cp /etc/i3status.conf ~/.config/i3status/config
# Run nm-applet through mod+d to start ubuntu's wifi manager. Or use
nmcli dev wifi
# Alternatively use this
nmtui
# Install compton
sudo apt install compton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment