ca08528926
Perhaps due to the regex change, or maybe it never did work, art was always nil. Use gears.string.split(), which works, is much easier to read than the regex and removes the need to munge the artUrl after too. |
||
---|---|---|
.. | ||
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(),
...