Blame samples/powerbtn/powerbtn-conf
|
Packit Service |
26469c |
# /etc/acpi/events/powerbtn
|
|
Packit Service |
26469c |
# This is called when the user presses the power button and calls
|
|
Packit Service |
26469c |
# /etc/acpi/powerbtn.sh for further processing.
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
# Optionally you can specify the placeholder %e. It will pass
|
|
Packit Service |
26469c |
# through the whole kernel event message to the program you've
|
|
Packit Service |
26469c |
# specified.
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
# We need to react on "button power.*" and "button/power.*" because
|
|
Packit Service |
26469c |
# of kernel changes.
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
event=button[ /]power
|
|
Packit Service |
26469c |
action=/etc/acpi/powerbtn.sh
|