Karabiner-elements: URL support?

Created on 26 Sep 2017  路  8Comments  路  Source: pqrs-org/Karabiner-Elements

Hey @tekezo - as you may remember, I added support in Karabiner for opening URLs as the action of a modification and I am thinking about whether to do the same in Karabiner Elements.

I know you have shell_command already, so we could just open URLs with /usr/bin/open, but if you're prepared to accept an open_url operation type, I'm prepared to write it :)

stale

All 8 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

I would be happy to see your URL support in KE.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue is still relevant IMHO.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue is still relevant.

I know @cmsj mentioned it above, but just to be crystal clear, I'm using this style of workaround in my karabiner.json, and it works just fine. The -g runs the URL in the background so it doesn't switch window focus.

"from": {
 "key_code": "fn",
},
"to": [
 {
  "shell_command": "open -g hammerspoon://shortcut"
 }
],
"type": "basic"

I too would love to see this feature land. shell_command is a good workaround but I feel there should be first class support for such an important feature.

Was this page helpful?
0 / 5 - 0 ratings