Skip to content

Chromium launches as regular window

When I choose a web or scene wallpaper, Chromium launches as a regular window, not in the background layer.

Here's the relevant output of hyprctl clients:

Window 9455bd0 -> WebGL Fluid Simulation:
        mapped: 1
        hidden: 0
        at: 22,55
        size: 831,1363
        workspace: 2 (2)
        floating: 0
        pseudo: 0
        monitor: 1
        class: chrome-__tmp_wallpaper_tmp_1756311655_index.html-Default
        title: WebGL Fluid Simulation
        initialClass: chrome-__tmp_wallpaper_tmp_1756311655_index.html-Default
        initialTitle: _/tmp/wallpaper_tmp_1756311655/index.html
        pid: 3927
        xwayland: 0
        pinned: 0
        fullscreen: 0
        fullscreenClient: 0
        grouped: 0
        tags: 
        swallowing: 0
        focusHistoryID: 1
        inhibitingIdle: 0
        xdgTag: 
        xdgDescription: 

As you can see, the --class and --window-title flags to chromium aren't working. I'm using chromium version 139.0.7258.66 from NixOS. Replacing the --app flag with just the URL to the file causes chromium to appear in the background layer as intended, but that causes chromium to render the URL bar and tabs which is pretty undesirable.

I expect I'll need to open an issue with upstream (either Chromium or NixOS), but maybe others who have also encountered this problem know of a fix or workaround.