You are not logged in.

#1 2014-10-20 01:06:15

emacsomancer
Member
Registered: 2014-09-20
Posts: 211

In AwesomeWM, how to get "now playing" info from Nuvola (Mpris)?

Is there a way to get the "now playing" info from the Nuvola music player to display in a widget in Awesome WM?  I know there were Cinnamon widgets which interacted with it.

Offline

#2 2014-10-20 05:11:25

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: In AwesomeWM, how to get "now playing" info from Nuvola (Mpris)?

you'll need a lua script that connects to the mpris dbus interface and then reacts to changes in the player state.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2014-10-20 14:45:45

emacsomancer
Member
Registered: 2014-09-20
Posts: 211

Re: In AwesomeWM, how to get "now playing" info from Nuvola (Mpris)?

progandy wrote:

you'll need a lua script that connects to the mpris dbus interface and then reacts to changes in the player state.

Does anyone have an example script for this?

Offline

Board footer

Powered by FluxBB