This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Helper: Find window under mouse | |
| local function windowUnderMouse() | |
| local mousePos = hs.mouse.absolutePosition() | |
| for _, win in ipairs(hs.window.orderedWindows()) do | |
| if win:isVisible() then | |
| local frame = win:frame() | |
| if mousePos.x >= frame.x and mousePos.x <= frame.x + frame.w and | |
| mousePos.y >= frame.y and mousePos.y <= frame.y + frame.h then | |
| return win | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "description": "Windows-like key mapping: Control⇄Command + Alt+Tab cycling", | |
| "manipulators": [ | |
| { | |
| "from": { "key_code": "left_control" }, | |
| "to": [{ "key_code": "left_command" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { "key_code": "right_control" }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -----BEGIN PUBLIC KEY----- | |
| MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmMDkGOMF9x4TB2499Dmt | |
| V2i5xqZUX1mJag4wsdfglfdg0fOIy795igoDeoSgUgs3KSV1oKZ1N/2Jrb7E6/pZ | |
| XL6mX+/MCEmgZT9nXB1WYul48w2yGSRZQynC1LnZAW5ZXsuU9wTcmOjVUDV7kEEE | |
| HbW4hWCzuD6kjKqDqHdmga8kAse1HeQsDt7+n7ZgxEY+b11qyJWwd6dpz7zBCUYh | |
| P7PJggzPiKRPtquTrWJ4YGkQhdIKO4BqREA/6uEFBZaCf/qk0DppsokOblxqeKU9 | |
| 2YoCwRUmQpcJfNk9CM8vpyBA9CUj9luHTuOGdlJ2na/PjVArBrL911zAO8PiMMLZ | |
| cQIDAQAB | |
| -----END PUBLIC KEY----- |