awesome-wm-widgets/mpris-widget
Romanos Skiadas 540d5edb5f mpris-widget: fix capture regex for playerctl output
Before, the table ended up being something like {"status", "",
"artist", "", ..}, so the output of the widget was garbled.
2021-08-23 11:20:27 +03:00
..
README.md mpris-widget: fix README, typo 2021-08-23 11:19:33 +03:00
init.lua mpris-widget: fix capture regex for playerctl output 2021-08-23 11:20:27 +03:00

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(),
		...