Files in the Appendix should simply be copied to their corresponding system directories. Make sure that all files are readable, and additionally that all scripts are executable.
The scripts are made for dash (Debian Almquist shell), so they should be quite compatible.
WARNING: The scripts in the Power Management section below need more testing. They should be safe to try, but take a look at them prior to use.
# Change power mode on power source transition event=ac_adapter action=/etc/acpi/handlers/power-ctl %e
See power-ctl on Github
See laptop_mode on Github
# Increase screen brightness through dedicated script event=video/brightnessup action=/etc/acpi/handlers/backlight-ctl.sh up
# Decrease screen brightness through dedicated script event=video/brightnessdown action=/etc/acpi/handlers/backlight-ctl.sh down
See backlight-ctl.sh on Github
# Raise Master volume of default ALSA device event=button/volumeup action=/usr/bin/amixer set Master 5%%+
# Lower Master volume of default ALSA device event=button/volumedown action=/usr/bin/amixer set Master 5%%-
# Toggle Master volume of default ALSA device event=button/mute action=/usr/bin/amixer set Master toggle