Comments (2)
Confirmed. There is no KeyboardLayout Name
for some IME. Will create PR later.
~/.hammerspoon (master)> /usr/bin/defaults read ~/Library/Preferences/com.apple.HIToolbox.plist AppleSelectedInputSources
(
{
InputSourceKind = "Keyboard Layout";
"KeyboardLayout ID" = 0;
"KeyboardLayout Name" = "U.S.";
}
)
~/.hammerspoon (master)> /usr/bin/defaults read ~/Library/Preferences/com.apple.HIToolbox.plist AppleSelectedInputSources
(
{
"Bundle ID" = "com.sogou.inputmethod.sogou";
"Input Mode" = "com.sogou.inputmethod.pinyin";
InputSourceKind = "Input Mode";
}
)
from dot-hammerspoon.
Hi @liukun - thanks for the fix! Sorry for the long delay in responding. In the meantime I have converted all the OMH plugins to Spoons, so I have integrated your fix into the MenubarFlag spoon, the PR is here: Hammerspoon/Spoons#34
from dot-hammerspoon.
Related Issues (9)
- Clean install fails HOT 3
- Installer doesn't work as advertised HOT 5
- KSheet has no bind_hotkeys and no toggle HOT 4
- URLDispatcher + Epichrome not working HOT 2
- Notify and execute updates HOT 1
- clipboard: copy / pasting image not working HOT 1
- Default configuration not working on Mac OS X Sierra HOT 3
- Specify pasteboard/clipboard item? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dot-hammerspoon.