Skip to content

Commit

Permalink
feat: add shortcut to toggle raycast ai sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
rgomezcasas committed May 13, 2024
1 parent 0ea4fe8 commit bdcc3ec
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
19 changes: 19 additions & 0 deletions os/mac/karabiner-elements/karabiner.json
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,25 @@
} ],
"type" : "basic"
} ]
}, {
"description" : "[Raycast] Toggle sidebar",
"manipulators" : [ {
"from" : {
"modifiers" : {
"mandatory" : [ "left_command" ]
},
"key_code" : "1"
},
"to" : [ {
"key_code" : "s",
"modifiers" : [ "left_command", "left_shift" ]
} ],
"conditions" : [ {
"type" : "frontmost_application_if",
"bundle_identifiers" : [ "com.raycast.macos" ]
} ],
"type" : "basic"
} ]
}, {
"description" : "[PersonalNotion] Show recent pages",
"manipulators" : [ {
Expand Down
6 changes: 5 additions & 1 deletion os/mac/karabiner-goku/karabiner.edn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
:held 100
:sim 100}}
:applications
{;; To obtain the app ID: `TThe.app/Contents/Info.plist`
{;; To obtain the app ID: `grep -A1 "CFBundleIdentifier" /Applications/The.app/Contents/Info.plist`
:Arc ["company.thebrowser.Browser"]
:Bitwarden ["com.bitwarden.desktop"]
:ChatGPT ["com.google.Chrome.app.jckaldkomadaenmmgladeopgmfbahfjm"]
Expand All @@ -19,6 +19,7 @@
:Keynote ["com.apple.iWork.Keynote"]
:Notion ["notion.id"]
:PersonalNotion ["com.apple.Safari.WebApp.5201A944-EF60-472C-80BB-F173D751027E"]
:Raycast ["com.raycast.macos"]
:Safari ["com.apple.Safari"]
:Slack ["com.tinyspeck.slackmacgap"]
:VSCode ["com.microsoft.VSCode"]}
Expand Down Expand Up @@ -182,6 +183,9 @@
[:selection-extend :!Sup_arrow]
[:selection-shrink :!Sdown_arrow]]}

{:des "[Raycast ai] Toggle sidebar"
:rules [:Raycast [:sidebar-primary-toggle :!CSs]]}

{:des "[PersonalNotion] Show recent pages"
:rules [:PersonalNotion [:show-recent :!Cp]]}
{:des "[PersonalNotion] Toggle sidebar"
Expand Down

0 comments on commit bdcc3ec

Please sign in to comment.