diff options
author | June McEnroe <june@causal.agency> | 2020-05-08 17:56:49 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-05-08 17:56:49 -0400 |
commit | 329bad308ac202d9b4d0ced817b2bacf8bc815d8 (patch) | |
tree | 546c3d09353d3019abb23636fd10061eb3b8ea7f | |
parent | Remove mksh (diff) | |
download | src-329bad308ac202d9b4d0ced817b2bacf8bc815d8.tar.gz src-329bad308ac202d9b4d0ced817b2bacf8bc815d8.zip |
Move keyboard layout into a .bundle
Based on Workman.bundle. This seems to make it stick, though I don't want to speak too soon.
-rw-r--r-- | etc/CodeQWERTY.bundle/Contents/Info.plist | 19 | ||||
-rw-r--r-- | etc/CodeQWERTY.bundle/Contents/Resources/CodeQWERTY.keylayout (renamed from etc/CodeQWERTY.keylayout) | 4 |
2 files changed, 21 insertions, 2 deletions
diff --git a/etc/CodeQWERTY.bundle/Contents/Info.plist b/etc/CodeQWERTY.bundle/Contents/Info.plist new file mode 100644 index 00000000..f78351e8 --- /dev/null +++ b/etc/CodeQWERTY.bundle/Contents/Info.plist @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleIdentifier</key> + <string>agency.causal.keyboardlayout.code</string> + <key>CFBundleName</key> + <string>Code QWERTY</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>KLInfo_Code QWERTY</key> + <dict> + <key>TISInputSourceID</key> + <string>agency.causal.keyboardlayout.code.qwerty</string> + <key>TISIntendedLanguage</key> + <string>en-CA</string> + </dict> + </dict> +</plist> diff --git a/etc/CodeQWERTY.keylayout b/etc/CodeQWERTY.bundle/Contents/Resources/CodeQWERTY.keylayout index 1c218266..393a86dd 100644 --- a/etc/CodeQWERTY.keylayout +++ b/etc/CodeQWERTY.bundle/Contents/Resources/CodeQWERTY.keylayout @@ -1,6 +1,6 @@ <?xml version="1.1" encoding="UTF-8"?> -<!DOCTYPE keyboard SYSTEM "file://localhost/System/Library/DTDs/KeyboardLayout.dtd"> -<keyboard group="126" id="5069" maxout="1" name="Code QWERTY"> +<!DOCTYPE keyboard PUBLIC "" "file://localhost/System/Library/DTDs/KeyboardLayout.dtd"> +<keyboard group="0" id="5069" maxout="1" name="Code QWERTY"> <layouts> <layout first="0" last="17" mapSet="16c" modifiers="f4"/> <layout first="18" last="18" mapSet="994" modifiers="f4"/> |