#4490·niri

Configurable black bars for outputs

Author: YaLTeRCreated Aug 28, 2026Updated Sep 30, 2026
Labelsarea:outputarea:visualsarea:config

This has been requested before (I can't find off the bat). I believe one usecase was for a broken monitor with a region of dead pixels on one side. Adding a black bar there would exclude the broken region from display.

Another usecase could be when you need to force a game to 16:9 on an ultrawide screen and you're fine with black bars.

I happened across yet another usecase now: I'm giving a presentation at a place with unfortunate presenter desk placement that obscures part of the screen for the viewers. So the bottom-right corner and edges of the slides are invisible or hard to see for the audience. Adding small bottom and right black bars would allow for fullscreen presentation that would be well visible to everyone.

This should probably be a block like struts {} in an output {}, but it should be called something different to avoid confusion (not sure what it should be called).

I'm also fairly sure that with current Smithay, using black solid color should keep the direct scanout working for a fullscreen client (using appropriate DRM props).