OK Have Sway running just fine and am using it as my daily driver. What I’m missing is some way to prevent the display from sleeping when playing full-screen content. I adjusted the time-out in the sway config; however, that’s not the way to prevent the display from sleeping with full-screen active. Any ideas? With Gnome, one uses caffeine, but extensions don’t work with Sway. Thanks!
No need for external programs:
for_window [class="^.*"] inhibit_idle fullscreen for_window [app_id="^.*"] inhibit_idle fullscreen
The
inhibit_idle
specifier is cool, thanks for the pointer. This two liner can be replaced with: