From 2e0efdf76073adff92c42157babb158ea587d5c8 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Sat, 1 Apr 2023 11:12:57 +0000 Subject: [PATCH] Create "Keyboard Layouts" directory --- .../eu_US (ANSI).keylayout | 0 eu_US.keylayout => Keyboard Layouts/eu_US.keylayout | 0 setup.sh | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename eu_US (ANSI).keylayout => Keyboard Layouts/eu_US (ANSI).keylayout (100%) rename eu_US.keylayout => Keyboard Layouts/eu_US.keylayout (100%) diff --git a/eu_US (ANSI).keylayout b/Keyboard Layouts/eu_US (ANSI).keylayout similarity index 100% rename from eu_US (ANSI).keylayout rename to Keyboard Layouts/eu_US (ANSI).keylayout diff --git a/eu_US.keylayout b/Keyboard Layouts/eu_US.keylayout similarity index 100% rename from eu_US.keylayout rename to Keyboard Layouts/eu_US.keylayout diff --git a/setup.sh b/setup.sh index 36bab5d..d52e70a 100755 --- a/setup.sh +++ b/setup.sh @@ -60,8 +60,8 @@ if have ssh; then fi if test x"$(uname -s)" = x"Darwin"; then - for i in eu_US.keylayout "eu_US (ANSI).keylayout"; do - dest="$HOME/Library/Keyboard Layouts/$i" + for i in "Keyboard Layouts/*"; do + dest="$HOME/Library/$i" # This does not like being symlinked… if [ ! -e "$dest" ]; then echo "Hardlinking $i -> $dest"