-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
✨ Add Keyboard's Toggle language indicator (#383)
Showing
3 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
title: Toggle language indicator | Keyboard | ||
description: Toggle the language indicator visibility while switching input sources. | ||
head: | ||
- - meta | ||
- property: 'og:title' | ||
content: macOS defaults > Keyboard > Toggle language indicator | ||
- - meta | ||
- property: 'og:description' | ||
content: Toggle the language indicator visibility while switching input sources. | ||
--- | ||
|
||
# Toggle language indicator | ||
|
||
Turn off the language indicator while switching input sources. | ||
|
||
**Tested on macOS**: | ||
|
||
- Sonoma | ||
|
||
**Parameter type**: bool | ||
|
||
## Requirements | ||
|
||
- User must have at least <a href="x-apple.systempreferences:com.apple.preference.keyboard?InputSources">2 Input Sources set up in the Keyboard settings</a> | ||
|
||
## Set to `true` (default value) | ||
|
||
Turn on the language indicator while switching input sources. | ||
|
||
```bash | ||
defaults write kCFPreferencesAnyApplication TSMLanguageIndicatorEnabled -bool "true" | ||
``` | ||
|
||
<img | ||
src="./images/toggle-language-indicator/on.png" | ||
alt="Example output with value set to true" | ||
width="740" height="494" style="height: auto" | ||
/> | ||
|
||
## Set to `false` | ||
|
||
Turn off the language indicator while switching input sources. | ||
|
||
```bash | ||
defaults write kCFPreferencesAnyApplication TSMLanguageIndicatorEnabled -bool "false" | ||
``` | ||
|
||
<img | ||
src="./images/toggle-language-indicator/off.png" | ||
alt="Example output with value set to false" | ||
width="740" height="494" style="height: auto" | ||
/> | ||
|
||
## Read current value | ||
|
||
```bash | ||
defaults read kCFPreferencesAnyApplication TSMLanguageIndicatorEnabled | ||
``` | ||
|
||
## Reset to default value | ||
|
||
```bash | ||
defaults delete kCFPreferencesAnyApplication TSMLanguageIndicatorEnabled | ||
``` |