Skip to content

Instantly share code, notes, and snippets.

@ondt
ondt / install-laptop.sh
Last active Feb 6, 2021
Blbuntu installation scripts
View install-laptop.sh
#!/bin/bash
# install Ubuntu (full install install)
# --> full install
# --> no swap
# setup wifi
# mount /data
gnome-disks
@ondt
ondt / autolayout.sh
Last active Apr 20, 2020
A script that switches keyboard layouts automatically based on the X window title
View autolayout.sh
#!/bin/bash
# for xtitle to work properly
sleep 0.5
layout="us"
xtitle -s -f '%s\n' | while read window_title; do
case $window_title in