74 days ago · Tech · 0 comments

One of the benefits of being a developer is being able to go “F**k it, I’ll just fix it myself!” when your computer is being annoying. In this particular instance, it was my Mac’s media keys (play/pause, rewind, fast forward) doing either the right thing, the wrong thing, some random thing, or… nothing. I kinda get the logic — if you’re watching a video on YouTube in your browser, hitting play/pause will pause your video — but it’s so inconsistent and buggy it’s more annoying than useful. All I want my media keys to do is control my chosen music player app. That’s it. I did actually use an existing utility to fix this, but it stopped working in macOS Tahoe. Evidently, I was particularly annoyed by this a few Sundays ago and with nothing better to do, I thought it’d be a great way to learn how to build a macOS menubar app with SwiftUI. Five hours later, I had a working app: Two hours more, I had a slightly better app: In pockets of spare time stolen here and there over the next week I…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.