Show HN: I made an app that blurs my screen when I slouch(tomjohnell.com)
tomjohnell.com
Show HN: I made an app that blurs my screen when I slouch
https://tomjohnell.com/posturr-a-macos-app-that-blurs-your-screen-when-you-slouch/
5 comments
last time I went to a physiotherapist he said "the best posture is always the next one"
He said it's better to keep shifting positions than to maintain one for a long time, even if it's considered a "good posture"
He said it's better to keep shifting positions than to maintain one for a long time, even if it's considered a "good posture"
That's cool! Is this implemented using a Swift feature?
Yes, it actually uses a private API: CGSSetWindowBackgroundBlurRadius. There's public APIs, but they do not provide as gentle of a blur as I was hoping to achieve. iTerm actually uses this same API:
https://github.com/gnachman/iTerm2/blob/master/sources/iTerm...
Ah, that makes sense. Good to know iTerm does the same thing. Thanks for sharing the reference!
Thanks so much for making Posturr. It definitely deserves more recognition!