diff --git a/mac/capslock.json b/mac/capslock.json index 202cd6b6..38989232 100644 --- a/mac/capslock.json +++ b/mac/capslock.json @@ -1,7 +1,7 @@ { "title": "Capslock Enhancement", "url": "https://vonng.com/capslock.json", - "version": "3.0.3", + "version": "3.0.4", "maintainers": [ "Vonng" ], @@ -33,12 +33,14 @@ "right_command", "right_control", "right_option" - ] + ], + "lazy": true } ], "to_if_alone": [ { - "key_code": "escape" + "key_code": "escape", + "lazy": true } ] }, diff --git a/mac_v3/capslock.json b/mac_v3/capslock.json index 202cd6b6..38989232 100644 --- a/mac_v3/capslock.json +++ b/mac_v3/capslock.json @@ -1,7 +1,7 @@ { "title": "Capslock Enhancement", "url": "https://vonng.com/capslock.json", - "version": "3.0.3", + "version": "3.0.4", "maintainers": [ "Vonng" ], @@ -33,12 +33,14 @@ "right_command", "right_control", "right_option" - ] + ], + "lazy": true } ], "to_if_alone": [ { - "key_code": "escape" + "key_code": "escape", + "lazy": true } ] }, diff --git a/mac_v3/capslock.yml b/mac_v3/capslock.yml index 0b8cf2eb..138889d1 100644 --- a/mac_v3/capslock.yml +++ b/mac_v3/capslock.yml @@ -1,7 +1,7 @@ --- title: Capslock Enhancement url: https://vonng.com/capslock.json -version: 3.0.3 +version: 3.0.4 maintainers: [ Vonng ] author: Vonng(rh@vonng.com) website: http://capslock.vonng.com @@ -22,8 +22,8 @@ rules: - description: 'capslock = esc(click) | hyper(hold)' type: basic from: { key_code: caps_lock ,modifiers: { optional: [ any ] } } - to: [ { key_code: right_shift,modifiers: [ right_command,right_control,right_option ] } ] - to_if_alone: [ { key_code: escape } ] + to: [ { key_code: right_shift,modifiers: [ right_command,right_control,right_option ], lazy: true } ] + to_if_alone: [ { key_code: escape, lazy: true } ] - description: 'escape = capslock switch' type: basic @@ -1881,4 +1881,4 @@ rules: -... \ No newline at end of file +...