diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..f805482 --- /dev/null +++ b/install.sh @@ -0,0 +1,4 @@ +#!/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' '~/Library/Keyboard Layouts/agda.keylayout'