Compare commits

..

2 Commits

Author SHA1 Message Date
Harzo bab7883ad2 Dotfiles: Add pacman hook to nvidia fix 2023-08-24 17:53:45 +02:00
Harzo 106c70e666 Dotfiles: Remove comments 2023-08-24 17:50:25 +02:00
1 changed files with 2 additions and 7 deletions

View File

@ -6,12 +6,7 @@ root_guard
echo "options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/path/to/tmp-nvidia" > /etc/modprobe.d/nvidia-power-management.conf
#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
install -m 644 "${CURDIR}/../files/hooks/nvidia.hook" /etc/pacman.d/hooks/nvidia.hook
systemctl enable nvidia-suspend
systemctl enable nvidia-hibernate