Files
bash
bin
config
env
latex
pkg_freeze
resume
systemd-utils
dell-xps13-7390
macbook_pro13
backlight-control.service
suppress-gpe.service
suspend-fix.service
tmux
vim
zsh
.gitignore
README.md
setup
dotwryn/systemd-utils/macbook_pro13/suspend-fix.service

8 lines
221 B
Desktop File
Executable File

[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