This commit is contained in:
Your Name 2024-02-17 07:30:22 -07:00
parent 780aa67514
commit cf6cf5e79a

View File

@ -344,6 +344,9 @@ desktop() {
}
hibernate() {
echo
echo
echo "[Hibernation Setup]"
echo "[Sleep]" >/etc/systemd/sleep.conf
echo "AllowSuspend=yes" >>/etc/systemd/sleep.conf
echo "AllowHibernation=yes" >>/etc/systemd/sleep.conf
@ -356,6 +359,9 @@ hibernate() {
unlink /usr/lib/systemd/system/systemd-suspend.service
rm -f /usr/lib/systemd/system/systemd-suspend.service
ln -s /usr/lib/systemd/system/systemd-suspend-then-hibernate.service /usr/lib/systemd/system/systemd-suspend.service
echo
echo "Please reboot for changes to take effect"
echo
}
installSteam() {