Giter Site home page Giter Site logo

Comments (4)

apm1467 avatar apm1467 commented on June 22, 2024 2

This can be indeed trivial. Just set the system shortcut of changing input source to be, for example, command + space. Then you can easily map option + shift to command + space with Karabiner-Elements. So every time you tap option + shift, the system will actually receive command + space and change the input source.

This can however break other shorts that uses the option + shift combination. You won't be able to use "Paste and match style" (shift + option + command + v) for example, since the system will receive command + space + v.

from ke-complex_modifications.

bingocaller avatar bingocaller commented on June 22, 2024

Do you mean the OS language or the keyboard layout/language?
The former is quite complicated because it would require running languagesetup, choosing a language, and restarting the system.
The latter can be set natively in your System Preferences.

from ke-complex_modifications.

Thaina avatar Thaina commented on June 22, 2024

@bingocaller The latter

In macOS Option+Shift or Cmd+Shift cannot set as a keyboard language binding. It not activation key in macOS unlike in Windows

from ke-complex_modifications.

bingocaller avatar bingocaller commented on June 22, 2024

Ah, I didn't realise that! ๐Ÿ™‚
Well, I guess it isn't going be trivial, then. You would probably have to set it up to do a shell_command (see caps_lock_enhancement.json for reference), which in turn cycles the keyboard layouts.
I did a bit of digging of how to do that programatically, and this Stack Overflow answer was the only thing I could find. It isn't exactly the most direct route, but might be what you're looking for or could at least help you on your way.

from ke-complex_modifications.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.