Replies: 1 comment 1 reply
-
You can use the pbcopy command. {
"to": [
{
"hold_down_milliseconds": 500,
"shell_command": "date | pbcopy"
},
{
"key_code": "v",
"modifiers": [
"left_command"
]
}
]
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I recently started to use Karabiner and I'm still exploring his capabilities (amazing tool, btw). Now I would like to know if it is possible to run a shell script AND paste the output at cursor position. I'm already using the "command" option for "to:", but now I'm wondering if it is possible to capture the output. (example use case: Authenticator otp creation from command line)
Many thanks for any answer.
Beta Was this translation helpful? Give feedback.
All reactions