An open API service indexing awesome lists of open source software.

https://github.com/rami3l/clavy

An input source switching daemon for macOS.
https://github.com/rami3l/clavy

input-method input-method-editor input-sources mac macos swift

Last synced: 30 days ago
JSON representation

An input source switching daemon for macOS.

Awesome Lists containing this project

README

        

# clavy

`clavy` (formerly `claveilleur`) is a simple input source switching daemon for macOS.

Inspired by a native Windows functionality, it can automatically switch the current input source for you according to the current application (rather than the current document).

**WARNING**: This is still a work in progress. Use it with care!

## Building & Installation

### Installing with `brew`

```sh
brew install rami3l/tap/clavy
```

### Building from source

```sh
# Live on the bleeding edge
cargo install clavy --git=https://github.com/rami3l/clavy.git
```

## Usage

Getting started is as simple as:

```sh
# Installs the launch agent under `~/Library/LaunchAgents`
clavy install

# Starts the service through launchd
clavy start
```

If this is your first time using `clavy`, please note that you might need to grant necessary privileges through `System Settings > Privacy & Security > Accessibility`.
After doing so, you might need to stop the service and start it again for those changes to take effect:

```sh
# Restarts the service through launchd
clavy restart
```

To uninstall the service, you just need to run the following:

```sh
# Stops the service through launchd
clavy stop

# Removes the launch agent from `~/Library/LaunchAgents`
clavy uninstall
```