awesome-wm-widgets/mpris-widget
Romanos Skiadas 4bc22fbb70 mpris-widget: delete on mouse::enter code
this code is janky, because the notification is set asynchronously, it
can end up not being cleaned by the mouse exit and then you can end up
with multiple ones. Also, the image field of the table needs to be icon,
but if the icon is an http url like some players print or even a local
file like firefox does, setting the icon causes an error as it can't be
read.
2021-10-16 09:59:03 +03:00
..
init.lua mpris-widget: delete on mouse::enter code 2021-10-16 09:59:03 +03:00
README.md mpris-widget: fix README, typo 2021-08-23 11:19:33 +03:00

MPRIS Widget (In progress)

Music Player Info widget cy @mgabs

Prerequisite

Install playerctl (mpris implementation), should be available in repo, e.g for Ubuntu:

sudo apt-get install playerctl

Installation

To use this widget clone repo under ~/.config/awesome/ and then add it in rc.lua:

local mpris_widget = require("awesome-wm-widgets.mpris-widget")
...
s.mytasklist, -- Middle widget
	{ -- Right widgets
    layout = wibox.layout.fixed.horizontal,
		...
    mpris_widget(),
		...