Created
March 14, 2024 00:25
-
-
Save mrpmohiburrahman/8f567c728f52aa7acb8484844c655a7c to your computer and use it in GitHub Desktop.
Facing lag when typing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:profiles | |
{:goku {:default true | |
:alone 80 ; hold for .. ms to register single tap | |
:held 50 ; TODO: not sure what it's for | |
:delay 0 ; time after which the key press is delayed | |
:sim 30}} ; keys need to be pressed within this threshold to be considered simultaneous | |
:templates {:alfred "osascript -e 'tell application id \"com.runningwithcrayons.Alfred\" to run trigger \"%s\" in workflow \"%s\" with argument \"%s\"'" | |
:km "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"%s\"'" | |
:open "open -a \"%s\"" | |
} | |
:simlayers { | |
:w-mode {:key :w} | |
:e-mode {:key :e} | |
:i-mode {:key :i} | |
:o-mode {:key :o} | |
} | |
:main [ | |
{:des "wkey (open apps)" | |
:rules [:w-mode | |
[:t "/opt/homebrew/bin/yabai -m window --toggle float; /opt/homebrew/bin/yabai -m window --grid 4:4:1:1:2:2"] | |
[:f "/opt/homebrew/bin/yabai -m window --toggle zoom-fullscreen"]]} | |
{:des "ekey (cmd + other key)" | |
:rules [:e-mode | |
[:q :!Cq] | |
[:w :!Cw] | |
[:t :!Ct] | |
]} | |
{:des "okey (alfred)" | |
:rules [:o-mode | |
[:t [:open "iTerm.app"]] | |
[:g [:open "Google Chrome.app"]] ; Raycast | |
[:v [:open "Visual Studio Code.app"]] | |
[:n [:open "Notion.app"]]]} | |
]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment