diff --git a/systemd-utils/macbook_pro13/suspend-fix.service b/systemd-utils/macbook_pro13/suspend-fix.service new file mode 100755 index 0000000..145a2d3 --- /dev/null +++ b/systemd-utils/macbook_pro13/suspend-fix.service @@ -0,0 +1,7 @@ +[Unit] +Description=Disables magnetic sensor wakeup, allowing arch to sleep +[Service] +Type=oneshot +ExecStart=/bin/sh -c "echo XHC! > /proc/acpi/wakeup && echo LID0 > /proc/acpi/wakeup" +[Install] +WantedBy=multi-user.target