Chromium launches as regular window #2

Open
opened 2025-08-27 17:35:34 +01:00 by joshuakb2 · 1 comment
joshuakb2 commented 2025-08-27 17:35:34 +01:00 (Migrated from gitlab.bracketproto.com)

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.

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.
joshuakb2 commented 2025-08-27 18:12:43 +01:00 (Migrated from gitlab.bracketproto.com)

FYI here's the upstream issue I opened in the chromium tracker

https://issues.chromium.org/issues/441482388

FYI here's the upstream issue I opened in the chromium tracker https://issues.chromium.org/issues/441482388
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
BracketProto/hyprwallpaperengine#2
No description provided.