9 lines
391 B
Bash
9 lines
391 B
Bash
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
|