Skip to content

Instantly share code, notes, and snippets.

@lottspot
lottspot / pianobar-mediakeys.py
Created September 22, 2012 19:25 — forked from flaviocdc/pianobar-mediakeys.py
Quick python script to handle media keys for pianobar
#!/usr/bin/env python
import gobject
import dbus
import dbus.service
import dbus.mainloop.glib
import os.path
APP_ID="pianobar-mediakeys"
pianobar_key_bindings = {}