u/cloudizz

Sway fullscreen for Chromium/Electron without losing tabs and address bar
▲ 13 r/swaywm

Sway fullscreen for Chromium/Electron without losing tabs and address bar

I kept running into a small but persistent Sway annoyance: pressing mod+f on Chromium/Electron makes the window fill the screen, but the app also treats it as application fullscreen and hides the tab bar/address bar.

What I wanted was closer to “make this window take the whole output” without telling the app to enter its own fullscreen UI. F11 and video fullscreen should still work normally.

I made a small Wayland proxy for that:

https://github.com/w9n/wl-app-fullscreen

It launches one app through a proxy and strips compositor-initiated FULLSCREEN state from xdg_toplevel.configure, while preserving client-initiated fullscreen from F11 / DOM fullscreen.

Example:

wl-app-fullscreen -- chromium
u/cloudizz — 11 days ago