Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Layout Switcher (Tuda-Suda)

Fixes text typed in the wrong keyboard layout. Type ghbdtn, press the hotkey, and it becomes привет — with the layout switched for you.

A small native macOS utility in Swift. Nothing is sent anywhere: it reads the selection and replaces it locally, on your Mac.

What it does

  • Converts the selected text between Latin and Cyrillic keyboard positions, both ways — the direction is detected, not configured.
  • Switches the input source to match the result, so you keep typing normally.
  • Reads the real layout tables from the system rather than hard-coding them, which matters at the edges: macOS puts Russian ё on the backslash key, and the Ukrainian layout swaps и and і relative to where Russian puts ы.
  • Handles punctuation keys that carry letters — xnj,s really is one word.

Supported layouts: Russian and Ukrainian, against the Latin one you type with.

Requirements

macOS with Accessibility access granted — the utility has to see what you type in order to replace it. macOS will prompt on first run.

Build

SIGN_IDENTITY="Apple Development: Your Name (TEAMID)" ./build.sh
./install.sh

Both scripts read the signing identity from the environment; nothing is baked into the source. For a distributable build use build-store.sh with STORE_SIGN_IDENTITY set to a Developer ID Application identity.

Why the name

Tuda-suda — "there and back". The text goes one way, then the other.

Licence

MIT.

About

Fixes text typed in the wrong keyboard layout on macOS — reads the real layout tables from the system, switches the input source for you. Native Swift, nothing leaves your Mac.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages