From 8cd1c9576ec60e8ea8f2730c4e98a9f41169eb32 Mon Sep 17 00:00:00 2001 From: "Jacob M. Roufa" Date: Thu, 19 Jan 2017 12:24:33 -0600 Subject: [PATCH] update Karabiner Elements documentation and installation to accommodate new configuration location since 0.90.71 --- README.md | 4 ++-- install.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f2cde12..dec4cb3 100644 --- a/README.md +++ b/README.md @@ -33,8 +33,8 @@ Install [Karabiner-Elements](https://github.com/tekezo/Karabiner-Elements) for r ```bash brew cask install karabiner-elements -mkdir -p ~/.karabiner.d/configuration -curl 'https://raw.githubusercontent.com/gnarf/osx-compose-key/master/karabiner.json' -o ~/.karabiner.d/configuration/karabiner.json +mkdir -p ~/.config/karabiner +curl 'https://raw.githubusercontent.com/gnarf/osx-compose-key/master/karabiner.json' -o ~/.config/karabiner/karabiner.json ``` In Karabiner-Elements under the Simple Modifications tab, click "Add item". Set the "From key" to "right_option" (or "right_command" if you use right alt) and "To key" to "non_us_backslash": diff --git a/install.sh b/install.sh index fb6c852..f264b2e 100755 --- a/install.sh +++ b/install.sh @@ -26,8 +26,8 @@ fi # Copy Karabiner settings. echo "Copying Karabiner settings..." if [[ $OSX_VERSION -ge 12 ]]; then - mkdir -p ~/.karabiner.d/configuration - cp karabiner.json ~/.karabiner.d/configuration/karabiner.json + mkdir -p ~/.config/karabiner + cp karabiner.json ~/.config/karabiner/karabiner.json else mkdir -p ~/Library/Application\ Support/Karabiner cp private.xml ~/Library/Application\ Support/Karabiner/private.xml