cd /news/developer-tools/show-hn-screenfocus-keyboard-focus-f… · home topics developer-tools article
[ARTICLE · art-74044] src=github.com ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Show HN: ScreenFocus – keyboard focus follows the pointer across Mac displays

A developer used ChatGPT and Codex to build ScreenFocus, a free macOS app that makes keyboard focus follow the pointer across multiple displays while preserving global shortcuts. The app includes features like focus protection, display border styles, launch-at-login, and automatic pausing when only one monitor is connected. It was the developer's first native Mac app, built with GPT-5.6 Sol and released under the MPL 2.0 license.

read1 min views1 publishedJul 26, 2026

I have a multi-monitor setup and spend a lot of time typing in Codex and other AI agents. When I move to another monitor to run a shortcut, focus often stays in Codex or another text app, so the shortcut runs in the wrong place.

I asked ChatGPT if there was a macOS setting or free app for this. It couldn't find one that did exactly what I wanted, so I asked it to prototype one. It built a working version in one go.

I then used Codex to add sensible defaults, focus protection, an optional display border, packaging, documentation, an MPL 2.0 license, a logo, and screenshots.

ScreenFocus is the result: keyboard focus follows the pointer across displays while global shortcuts keep working.

This was my first native Mac app, and I used GPT-5.6 Sol with High reasoning. If you check out the README, help docs, and other Markdown files, you might be surprised by how complete it feels.

I also added Launch at Login, full-border and corner-marker styles, custom colors, automatic pausing when only one monitor is connected, and a few other settings.

Comments URL: [https://news.ycombinator.com/item?id=49055525](https://news.ycombinator.com/item?id=49055525)

Points: 1

── more in #developer-tools 4 stories · sorted by recency
── more on @chatgpt 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-screenfocus-…] indexed:0 read:1min 2026-07-26 ·