Skip to content

Instantly share code, notes, and snippets.

@Geofferey
Created January 27, 2024 11:16
Show Gist options
  • Save Geofferey/f3a30541323dc35deedb2e73e0c54dd1 to your computer and use it in GitHub Desktop.
Save Geofferey/f3a30541323dc35deedb2e73e0c54dd1 to your computer and use it in GitHub Desktop.
# /etc/acpi/events/lidconf
# run a script on lid open/close events
event=button/lid
action=/etc/acpi/actions/acpi-lid-switch.sh "%e"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment