Merge pull request #11690 from Yarlord/fix-hybrid-nvidia-vaapi

Only force NVIDIA VA-API/GLX env when NVIDIA drives the display
This commit is contained in:
Ryan Hughes authored and GitHub committed 2026-09-24 21:52:04 -05:00
commit 5bc098d749
4 files changed
+111 -88

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
echo "Apply the NVIDIA video driver fix on hybrid laptops"
if omarchy-hw-nvidia && ! omarchy-hw-nvidia-display; then
# Hyprland applies env at startup. Reloading the updated defaults cannot
# clear the old overrides inherited by the compositor and its applications.
omarchy-state set reboot-required
echo "Reboot to stop forcing NVIDIA VA-API/GLX drivers on the integrated GPU."
fi