GitXplorerGitXplorer
m

karabiner

public
414 stars
170 forks
6 issues

Commits

List of commits on branch main.
Unverified
57fd6db5012be2af2d30b19db486fd2b77c18697

Update rules

mmxstbr committed 14 days ago
Unverified
96c3608a811cba610429a9d66498043a037aaf7e

Properly type modifiers

mmxstbr committed 24 days ago
Unverified
327166ac584620b1b3eb66ba76088dc3579a9edd

Voice dictation via superwhisper

mmxstbr committed 24 days ago
Unverified
afedcc0de02909554fd6aab75052a7951f6243c0

qrtrly -> /cal

mmxstbr committed a month ago
Unverified
6a64f809254793bfea2b8d4f3a18175a0488b0a3

VSCode -> Zed

mmxstbr committed a month ago
Unverified
b9c505ac328fcd8c8ca5b9eade070ee31db1c652

Add Hashnode

mmxstbr committed a month ago

README

The README file for this repository.

@mxstbr's Karabiner Elements configuration

If you like TypeScript and want your Karabiner configuration maintainable & type-safe, you probably want to use the custom configuration DSL / generator I created in rules.ts and utils.ts!

“This repo is incredible - thanks so much for putting it together! I always avoided Karabiner mostly because of its complicated configuration. Your project makes it so much easier to work with and so much more powerful. I'm geeking out on how much faster I'm going to be now.

— @jhanstra (source)

Watch the video about this repo:

CleanShot 2024-04-17 at 17 47 16@2x

Watch my interview with Raycast for a deeper dive into how I connect this with Raycast as my personal productivity system:

You probably don't want to use my exact configuration, as it's optimized for my personal style & usage. Best way to go about using this if you want to? Probably delete all the sublayers in rules.ts and add your own based on your own needs!

Installation

  1. Install & start Karabiner Elements
  2. Clone this repository
  3. Delete the default ~/.config/karabiner folder
  4. Create a symlink with ln -s ~/github/mxstbr/karabiner ~/.config (where ~/github/mxstbr/karabiner is your local path to where you cloned the repository)
  5. Restart karabiner_console_user_server with launchctl kickstart -k gui/`id -u`/org.pqrs.karabiner.karabiner_console_user_server

Development

yarn install

to install the dependencies. (one-time only)

yarn run build

builds the karabiner.json from the rules.ts.

yarn run watch

watches the TypeScript files and rebuilds whenever they change.

License

Copyright (c) 2022 Maximilian Stoiber, licensed under the MIT license.