Merge branch 'master' of github.com:Chostakovitch/dotfiles

master
Quentin Duchemin 2019-01-08 19:58:22 +01:00
commit f6d86dfade
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,9 @@
Example file to bind an ACPI event to a simple action.
In my case up and down volume buttons are recognized and have a
keycode/sym but mute don't have. However the ACPI event when using
the key is correctly catched (button/mute).
We use acpid daemon to bind the appropriate action
Copy this file to `/etc/acpi/events`.

View File

@ -0,0 +1,2 @@
event=button/mute
action=amixer -D hw:PCH -M sset 'Master' toggle