Skip to content

Instantly share code, notes, and snippets.

@nevstokes
Created May 16, 2020 14:55
Show Gist options
  • Save nevstokes/da1f448eb69ce8a506dedc8733fff917 to your computer and use it in GitHub Desktop.
Save nevstokes/da1f448eb69ce8a506dedc8733fff917 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
sudo apt update && sudo apt upgrade -y
sudo apt install software-properties-common
# Get up-to-date versions of ansible and git
sudo apt-add-repository -y ppa:ansible/ansible
sudo apt-add-repository -y ppa:git-core/ppa
sudo apt update
sudo apt install -y ansible git
# Pull down personal configuration
git clone [email protected]:nevstokes/ansible-setup.git
# Set up all the things
ansible-playbook ansible-setup/playbook.yml --ask-become-pass
# Remap caps lock to control, retaining caps lock functionality via both shift keys
gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:nocaps','shift:both_capslock_cancel']"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment