From 9746efe477f42b759869c1b094bc21089f416aa7 Mon Sep 17 00:00:00 2001 From: xenia Date: Fri, 21 Jun 2024 15:07:07 +0200 Subject: [PATCH] Fix install script --- install.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index f805482..bdff68b 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,7 @@ #!/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' +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"