kblayouts/install.sh

5 lines
261 B
Bash
Raw Normal View History

2024-03-12 11:18:33 +01:00
#!/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'