Compare commits

..

No commits in common. "bab7883ad277b3b2bcc8405f35ea4fca0a917728" and "bce5b1a3a6cd8f9ed541e4491675ab17aabee2e4" have entirely different histories.

1 changed files with 7 additions and 2 deletions

View File

@ -6,7 +6,12 @@ root_guard
echo "options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/path/to/tmp-nvidia" > /etc/modprobe.d/nvidia-power-management.conf
install -m 644 "${CURDIR}/../files/hooks/nvidia.hook" /etc/pacman.d/hooks/nvidia.hook
#install -m 755 "${CURDIR}/../files/scripts/suspend-hyprland" /usr/local/bin
#install -m 644 "${CURDIR}/../files/services/hyprland-suspend.service" /usr/lib/systemd/system
#install -m 644 "${CURDIR}/../files/services/hyprland-resume.service" /usr/lib/systemd/system
#
#systemctl daemon-reload
#systemctl enable hyprland-suspend.service
#systemctl enable hyprland-resume.service
systemctl enable nvidia-suspend
systemctl enable nvidia-hibernate