Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am trying to use the xmms2 widget. As it is, the widget does not conforms to awesome 3.X specifications -- or at least, I may have misunderstood how widgets should work. I certainly cannot get it to display anything as is.

Does anyone have an update to this widget?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Not a widget as such but you can get keyboard short cuts by adding

awful.key({}, "XF86AudioPlay", function () awful.util.spawn_with_shell("nyxmms2 toggle") end),
awful.key({}, "XF86AudioStop", function () awful.util.spawn_with_shell("nyxmms2 stop") end),
awful.key({}, "XF86AudioPrev", function () awful.util.spawn_with_shell("nyxmms2 prev") end),
awful.key({}, "XF86AudioNext", function () awful.util.spawn_with_shell("nyxmms2 next") end)

to your rc.lua file.

In addition, the official site widget has been updated and the code there now works fine for me.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.