musicwidget.mpd_config = os.getenv("XDG_CONFIG_HOME").."/mpd/mpd.conf"
-- Specify the browser you use so awesompd can open links from
-- Jamendo in it.
-musicwidget.browser = "mimeo"
+musicwidget.browser = "rifle"
-- Specify decorators on the left and the right side of the
-- widget. Or just leave empty strings if you decorate the widget
-- from outside.
-- Set all the servers to work with (here can be any servers you use)
musicwidget.servers = {
{ server = "localhost",
- port = 6600 },
- { server = "localhost",
- port = 6601 } }
+ port = 6600 } }
-- Set the buttons of the widget
musicwidget:register_buttons({
{ "", awesompd.MOUSE_LEFT, musicwidget:command_playpause() },