diff options
| author | Teddy Wing | 2019-06-22 14:03:36 +0200 |
|---|---|---|
| committer | Teddy Wing | 2019-06-22 14:03:36 +0200 |
| commit | b20e33fd6ccb506c090e2b2c3ebed977b25de227 (patch) | |
| tree | e5cb85984eab2309002acd67952c0239b2897f6d | |
| parent | da008bf40037d0c7fde73e8c87b2367c77db0be4 (diff) | |
| download | dothammerspoon-b20e33fd6ccb506c090e2b2c3ebed977b25de227.tar.bz2 | |
application_switch: Add shortcut for Preview
| -rw-r--r-- | application_switch.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/application_switch.lua b/application_switch.lua index 6fbea78..3644c94 100644 --- a/application_switch.lua +++ b/application_switch.lua @@ -61,3 +61,9 @@ application_switch_mode:bind({}, 'f', function() application_switch_mode:exit() end) + +application_switch_mode:bind({}, 'v', function() + hs.application.find('com.apple.Preview'):activate(activateAllWindows) + + application_switch_mode:exit() +end) |
