summaryrefslogtreecommitdiff
path: root/karabiner
diff options
context:
space:
mode:
Diffstat (limited to 'karabiner')
-rw-r--r--karabiner/karabiner.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/karabiner/karabiner.json b/karabiner/karabiner.json
index 10eaf6c..694ec7c 100644
--- a/karabiner/karabiner.json
+++ b/karabiner/karabiner.json
@@ -8,6 +8,19 @@
"complex_modifications": {
"rules": [
{
+ "description": "insert current date (control+;)",
+ "manipulators": [
+ {
+ "from": {
+ "key_code": "semicolon",
+ "modifiers": { "mandatory": ["control"] }
+ },
+ "to": [{ "shell_command": "printf \"$(date +%F)\" | pbcopy && osascript -e 'tell application \"System Events\" to keystroke \"v\" using command down'" }],
+ "type": "basic"
+ }
+ ]
+ },
+ {
"description": "Find my Kitty (left_option+space)",
"manipulators": [
{