# /etc/acpid/events/lidbtn # This is called when the lid is opened or closed, triggering a lid event, # and calls /etc/acpid/lidbtn.sh for further processing. # Optionally you can specify the placeholder %e. It will pass # through the whole kernel event message to the program you've # specified. # We need to react on "button power.*" and "button/lid.*" because # of kernel changes. event=ac_adapter action=/etc/acpi/ac_adpt.sh