Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'Toggle language indicator' #383

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions docs/misc/toggle-language-indicator.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
title: Disable language indicator | Miscellaneous
HUMORCE marked this conversation as resolved.
Show resolved Hide resolved
description: Turn off the language indicator while switching input sources.
HUMORCE marked this conversation as resolved.
Show resolved Hide resolved
head:
- - meta
- property: 'og:title'
content: macOS defaults > Miscellaneous > Disable indicator of input sources
HUMORCE marked this conversation as resolved.
Show resolved Hide resolved
- - meta
- property: 'og:description'
content: Turn off the language indicator while switching input sources.
HUMORCE marked this conversation as resolved.
Show resolved Hide resolved
---

# Disable indicator of input sources
HUMORCE marked this conversation as resolved.
Show resolved Hide resolved

Turn off the language indicator while switching input sources.

<!-- break lists -->

HUMORCE marked this conversation as resolved.
Show resolved Hide resolved
- **Tested on macOS**:
- Sonoma
HUMORCE marked this conversation as resolved.
Show resolved Hide resolved
- **Parameter type**: bool
HUMORCE marked this conversation as resolved.
Show resolved Hide resolved

HUMORCE marked this conversation as resolved.
Show resolved Hide resolved
## 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-indiacator/on.png"
HUMORCE marked this conversation as resolved.
Show resolved Hide resolved
alt="Example output with value set to true"
width="740" height="463" style="height: auto"
HUMORCE marked this conversation as resolved.
Show resolved Hide resolved
/>

## Set to `false`

Turn off the language indicator while switching input sources.

```bash
defaults write kCFPreferencesAnyApplication TSMLanguageIndicatorEnabled -bool "false"
```

<img
src="./images/toggle-language-indiacator/off.png"
HUMORCE marked this conversation as resolved.
Show resolved Hide resolved
alt="Example output with value set to false"
width="740" height="463" style="height: auto"
HUMORCE marked this conversation as resolved.
Show resolved Hide resolved
/>

## Read current value

```bash
defaults read kCFPreferencesAnyApplication TSMLanguageIndicatorEnabled
```

## Reset to default value

```bash
defaults delete kCFPreferencesAnyApplication TSMLanguageIndicatorEnabled
```
Binary file added docs/misc/toggle-language-indicator/off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/misc/toggle-language-indicator/on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading