You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show the keyboard input source and switch it on click #216
People who type in more than one language or layout can't see in the bar which input source is active. macOS shows it in its own menu bar, which is out of sight when the menu bar is hidden. No provider reports it today.
Proposal
An inputSource provider: text is the short name, such as ABC or DE, with fields.name (the localized name), fields.id (such as com.apple.keylayout.ABC), fields.language and lists.sources, the enabled keyboard input sources with id and name.
It updates when macOS posts the kTISNotifySelectedKeyboardInputSourceChanged distributed notification, without polling, and sends an inputSourceChange event.
An action that selects a source by ID or moves to the next one, so a click cycles sources and a popup list can pick one without a shell.
icon could come from the source's icon (kTISPropertyIconImageURL) for image blocks.
All of this uses the public Text Input Sources API in Carbon (TISCopyCurrentKeyboardInputSource, TISCreateInputSourceList, TISSelectInputSource) and needs no macOS access, so the registry entry declares none.
Possible today
Partly. A script can read the current layout from defaults read ~/Library/Preferences/com.apple.HIToolbox.plist AppleSelectedInputSources, but that file updates late and nothing tells the script when the source changes. Switching needs a third-party tool such as macism or im-select.
Related
The audio source (Sources/StableBar/AudioMonitor.swift) is the closest model of a push source with a device list.
Activity
stablebar-releases commentedon Nov 12, 2026
🎉 This issue has been resolved in version 0.14.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀