Skip to content

Keep the Omarchy screensaver from firing during VLC playback - #12579

Open
evandrojr wants to merge 1 commit into
omacom:quattrofrom
evandrojr:fix/vlc-idle-inhibit
Open

evandrojr wants to merge 1 commit into
omacom:quattrofrom
evandrojr:fix/vlc-idle-inhibit

Conversation

@evandrojr

Copy link
Copy Markdown

Problem

VLC does not inhibit idle under Wayland. With Omarchy's default idle.screensaver (150s), watching a movie in VLC triggers the Omarchy screensaver (and later DPMS/lock) mid-playback, because the compositor reports the session as idle even though playback is ongoing.

Fix

Add default/hypr/apps/vlc.lua with a window rule setting idle_inhibit = "focus" for VLC. While the VLC window has focus, Hyprland does not report the session as idle, so the screensaver stays off during playback.

Verified locally with hyprctl reload / hyprctl configerrors (clean). Other media rules already exist in default/hypr/apps/ for steam, moonlight, retroarch, and GeForceNOW.

Tests

./test/cli passes. ./test/shell failures are pre-existing environmental dependencies (omarchy-pkgs checkout missing) and unrelated — reproduced without this change.

@jandrusk

Copy link
Copy Markdown

Looks right — same idle_inhibit pattern we already use for Steam/Moonlight/GeForce. Related: #14801 does Stremio the same way, and #14478 is the broader "shell ignores Hyprland idle_inhibit during fullscreen YouTube" report if we want a more general fix later. Fine as a focused VLC fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants