f0a0166ecdc437e25eb3e7be87e004ef874afaa6
-scale 0.5 was hardcoded on the assumption that :0 is 4K. With no monitor plugged in X falls back to something tiny — 800x480 on this box — and halving that served an unreadable 400x240. Read the framebuffer width from xrandr and scale only above 2560px. When the width cannot be read, serve 1:1: too many pixels beats a thumbnail. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Description
No description provided
42 MiB
Languages
TypeScript
90.9%
Shell
4.7%
JavaScript
4.1%
CSS
0.2%
HTML
0.1%