4bc22fbb70
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. |
||
---|---|---|
.. | ||
README.md | ||
init.lua |
README.md
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(),
...