Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

More reliable global hotkey #71

Merged
merged 12 commits into from
May 26, 2020
Merged

Conversation

ThatsJustCheesy
Copy link
Collaborator

I tore out the NSServices stuff (keyboard shortcuts for systemwide Services have always been unreliable at best…) and replaced it with your awesome KeyboardShortcuts library and a simple config popover.

Should fix #68.

Touch Bar Simulator.xcodeproj/project.pbxproj Outdated Show resolved Hide resolved
readme.md Outdated Show resolved Hide resolved
Touch Bar Simulator/AppDelegate.swift Outdated Show resolved Hide resolved
Touch Bar Simulator/AppDelegate.swift Outdated Show resolved Hide resolved
Touch Bar Simulator/AppDelegate.swift Outdated Show resolved Hide resolved
Touch Bar Simulator/AppDelegate.swift Outdated Show resolved Hide resolved
Touch Bar Simulator/AppDelegate.swift Outdated Show resolved Hide resolved
Touch Bar Simulator/AppDelegate.swift Outdated Show resolved Hide resolved
ThatsJustCheesy and others added 2 commits May 25, 2020 23:23
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
@ThatsJustCheesy
Copy link
Collaborator Author

ThatsJustCheesy commented May 26, 2020

Which do you prefer:

.padding().padding():
Screen Shot 2020-05-25 at 11 31 36 PM

.padding():
Screen Shot 2020-05-25 at 11 32 04 PM

I'm partial to the second but whatever works 👍

@sindresorhus
Copy link
Owner

The last one with slightly more padding.

@ThatsJustCheesy
Copy link
Collaborator Author

.padding().padding(4):

Screen Shot 2020-05-25 at 11 50 13 PM

@sindresorhus
Copy link
Owner

sindresorhus commented May 26, 2020

Yeah, looks good. Probably better to just hard-code it to .padding(20) (no .padding()).

@sindresorhus sindresorhus merged commit 58aaf98 into sindresorhus:master May 26, 2020
@sindresorhus sindresorhus changed the title More reliable global hotkey using KeyboardShortcuts More reliable global hotkey May 26, 2020
@sindresorhus
Copy link
Owner

🙌

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Toggle Touch Bar keyboard shortcut doesn't work...
2 participants