Skip to content

Instantly share code, notes, and snippets.

@briandeheus
Created April 24, 2020 17:03
Show Gist options
  • Save briandeheus/bfa498000f52fbf1b581b9a0cfad0e82 to your computer and use it in GitHub Desktop.
Save briandeheus/bfa498000f52fbf1b581b9a0cfad0e82 to your computer and use it in GitHub Desktop.
[Unit]
Description=Restart trackpad after suspend
After=basic.target suspend.target hibernate.target
[Service]
User=root
Environment=DISPLAY=:0
ExecStart=/usr/bin/restart-trackpad
[Install]
WantedBy=basic.target suspend.target hibernate.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment