Skip to content

Show the keyboard input source and switch it on click #216

Closed

Description

@Seb-GRAF

Problem

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

Triaged by Claude Code via T3 Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    on Oct 22, 2026
  2. added
    P3
    on Nov 8, 2026
  3. stablebar-releases commented on Nov 12, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.14.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3enhancementreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions