News for hackers. Stuff that matters.
Re:Show HN: I made an app that blurs my screen when I slouch by tokkyokky on Sunday January 25, 2026 @08:24AM (#46753890)
That's cool! Is this implemented using a Swift feature?
Re:Show HN: I made an app that blurs my screen when I slouch by tjohnell on Sunday January 25, 2026 @09:28AM (#46754321)
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...
Re:Show HN: I made an app that blurs my screen when I slouch by tokkyokky on Sunday January 25, 2026 @05:58PM (#46759493)
Ah, that makes sense. Good to know iTerm does the same thing. Thanks for sharing the reference!