Repository navigation
Open and close wofi with the same binding - #58
Merged
Merged
Conversation
Contributor
|
Yeah, that's way better! |
Merged
rdoupe
added a commit
to omarchy-asus/omarchy
that referenced
this pull request
Oct 18, 2026
The hybrid video decode pins are checked at Hyprland start and refreshed when one names a device that is gone or is the NVIDIA GPU. That check looked at every by-path render node setting, so a user who chose the NVIDIA GPU on purpose with a /dev/dri/by-path/pci-...-render override had it deleted at the next login and replaced with the iGPU pin, against the promise to keep settings the user already has. Omarchy now writes a marker comment on the line above each pin it adds, the --render-node-override line in the Chromium-family flags files and the vaapi-device line in mpv.conf. Only a pin right under that marker is checked at start, dropped (with its marker) when stale and written again. Any other render node setting is the user's, whatever device it names, and neither triggers the refresh nor is touched by it. Deleting the marker hands a pin over to the user. Pins written before this change carry no marker and are treated as the user's: they are left alone rather than guessed at. The change has not been released, so only test installs have them. When a stale mpv pin is dropped, the new one goes back under Omarchy's mpv comment instead of above it. Found by ai-review on omarchy-asus PR omacom#58.
rdoupe
added a commit
to omarchy-asus/omarchy
that referenced
this pull request
Oct 18, 2026
The hybrid video decode pins are checked at Hyprland start and refreshed when one names a device that is gone or is the NVIDIA GPU. That check looked at every by-path render node setting, so a user who chose the NVIDIA GPU on purpose with a /dev/dri/by-path/pci-...-render override had it deleted at the next login and replaced with the iGPU pin, against the promise to keep settings the user already has. Omarchy now writes a marker comment on the line above each pin it adds, the --render-node-override line in the Chromium-family flags files and the vaapi-device line in mpv.conf. Only a pin right under that marker is checked at start, dropped (with its marker) when stale and written again. Any other render node setting is the user's, whatever device it names, and neither triggers the refresh nor is touched by it. Deleting the marker hands a pin over to the user. Pins written before this change carry no marker and are treated as the user's: they are left alone rather than guessed at. The change has not been released, so only test installs have them. When a stale mpv pin is dropped, the new one goes back under Omarchy's mpv comment instead of above it. Found by ai-review on omarchy-asus PR omacom#58.
rdoupe
added a commit
to omarchy-asus/omarchy
that referenced
this pull request
Oct 18, 2026
The hybrid video decode pins are checked at Hyprland start and refreshed when one names a device that is gone or is the NVIDIA GPU. That check looked at every by-path render node setting, so a user who chose the NVIDIA GPU on purpose with a /dev/dri/by-path/pci-...-render override had it deleted at the next login and replaced with the iGPU pin, against the promise to keep settings the user already has. Omarchy now writes a marker comment on the line above each pin it adds, the --render-node-override line in the Chromium-family flags files and the vaapi-device line in mpv.conf. Only a pin right under that marker is checked at start, dropped (with its marker) when stale and written again. Any other render node setting is the user's, whatever device it names, and neither triggers the refresh nor is touched by it. Deleting the marker hands a pin over to the user. Pins written before this change carry no marker and are treated as the user's: they are left alone rather than guessed at. The change has not been released, so only test installs have them. When a stale mpv pin is dropped, the new one goes back under Omarchy's mpv comment instead of above it. Found by ai-review on omarchy-asus PR omacom#58.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This replicates macOS spotlight behavior when pressing the binding for a second time