OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
wayland-compat medium very-common DISPUTE

Move Chrome's screen-sharing bar off the centre of the display

omarchyarchhyprlandwaylanddesktoplaptop
CORRECTED An auditor found the fix wrong or incomplete and rewrote it.
AUDIT NOTE

Real problem, real source (omarchy#1862), and the hyprlang rule is quoted faithfully from that thread, but it faithfully reproduces the thread's bug. move 100%-w-20 100%-w-20 uses the WINDOW WIDTH token for the Y coordinate. The vertical term must use the height token. The commenter who posted it claims it lands 20px from the right and bottom, and a later commenter in the same thread reports it still does not work. Separately, the Lua rule uses no_border = true, which is not a valid effect in the 0.55+ window-rule schema (the effects table has border_size and decorate, and no no_border). That is an unknown key, not a working rule. And as with the xwaylandvideobridge record, ~/.config/hypr/windows.lua is not a file Omarchy 4.x loads.

The cause above was not rewritten and may still contain the error described. The fix below is the corrected version.
RISK

Do not edit ~/.local/share/omarchy/default/hypr/apps/browser.conf or /usr/share/omarchy/default/hypr/* directly, because omarchy update overwrites those files and your rule disappears. Put the rule in your own ~/.config/hypr/ files.

Symptom

While screen sharing from Chromium/Chrome (Google Meet especially), a small window titled <site> is sharing your screen. parks itself dead centre of the display and will not move. Clicking its "Hide" button does nothing. Ctrl+W on it stops the share entirely.

Cause

Chromium spawns the sharing indicator as its own toplevel with no position hint. Hyprland floats it and centres it. The "Hide" button is broken in Chromium's own Wayland path, so nothing dismisses it. Positioning has to be forced by the compositor.

Fix

Move it out of the way with a Hyprland window rule matched on its title.

Hyprland <=0.54 / Omarchy 3.x (~/.config/hypr/hyprland.conf, or a user override file, not the packaged defaults). Note the Y term uses the HEIGHT token. The widely-copied version from omarchy#1862 uses 100%-w-20 twice, which computes the vertical position from the window's width and parks it in the wrong place:


# Screen sharing indicator (Google Meet, etc)
windowrule = tag +screen-share-indicator, initialTitle:^.*is sharing your screen\.$
windowrule = noborder, tag:screen-share-indicator
windowrule = move 100%-w-20 100%-h-20, tag:screen-share-indicator

Hyprland 0.55+ / Omarchy 4.x: Omarchy has no windows.lua, so append to the bottom of ~/.config/hypr/hyprland.lua (or create ~/.config/hypr/windows.lua and add require("hypr.windows") to hyprland.lua):


hl.window_rule({
    name = "hide-screen-sharing-indicator",
    match = { title = ".*is sharing your screen.*" },
    workspace = "special:hidden",
    border_size = 0
})

(no_border is not a valid effect in the 0.55+ schema, so use border_size = 0, or decorate = false.)

Or, to park it in a corner instead of hiding it:


hl.window_rule({
    name = "move-screen-sharing-indicator",
    match = { title = ".*is sharing your screen.*" },
    float = true,
    move = {"monitor_w - window_w - 20", "monitor_h - window_h - 20"},
    border_size = 0
})

Then:


hyprctl reload

If your desktop is not in English, change the title regex to match your locale's wording. Immediate manual workaround with no config change: hold SUPER and drag the window with the left mouse button, or SUPER + right-drag to resize it away.

Verify

Start a Google Meet share. The indicator appears in the bottom-right corner (or on the hidden workspace) instead of centre screen, and the meeting keeps sharing.

Sources

chrome-sharing-indicator-stuck-center-screen