Skip to content

Instantly share code, notes, and snippets.

@rmflight
Created August 12, 2019 20:29
Show Gist options
  • Save rmflight/84341c842a89ac3989f855391187da5a to your computer and use it in GitHub Desktop.
Save rmflight/84341c842a89ac3989f855391187da5a to your computer and use it in GitHub Desktop.
checking lid status
# check status of lid for wakeup
# su
# echo "LID0" > /proc/acpi/wakeup
alias lid_status="cat /proc/acpi/wakeup | grep LID0"
lid_status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment