Skip to content

hawx/evmpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

evmpd

Sends commands to mpd based on media-key events.

$ make
$ sudo ./evmpd localhost 6600 \
   /dev/input/by-id/usb-xxxx_xxxx-event-kbd \
   'shutdown -h now'
...

Requires:

Supports:

  • F4 = HALT_COMMAND
  • Play/Pause
  • Stop
  • Previous
  • Next
  • Volume Up (increments by 5%)
  • Volume Down (decrements by 5%)

Formatting

Code formatting using GNU indent:

$ indent -kr -ci2 -cli2 -i2 -l80 -nut

About

media-key events -> mpd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published