#!/bin/sh name="AGDA$RANDOM" python3 kbtrans/agda_input_method.py svorak.keylayout '/Library/Keyboard Layouts/agda.keylayout' --name "$name" && echo "(generated $name)" cp '/Library/Keyboard Layouts/agda.keylayout' "$HOME/Library/Keyboard Layouts/agda.keylayout" cp svorak.keylayout '/Library/Keyboard Layouts/agda.keylayout' cp '/Library/Keyboard Layouts/svorak.keylayout' "$HOME/Library/Keyboard Layouts/svorak.keylayout"