Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published