2017-08-14 13:17:44 +02:00
|
|
|
# Google Play Music Desktop Player watcher
|
|
|
|
|
2017-08-23 11:36:08 +02:00
|
|
|
This widget can be used to display the current track information and state of
|
|
|
|
[Google Play Music Desktop Player](https://www.googleplaymusicdesktopplayer.com/).
|
2017-08-14 13:17:44 +02:00
|
|
|
|
|
|
|
1. Download `gpmdp.lua` [here](https://awesomewm.org/recipes/gpmdp.lua)
|
|
|
|
2. Add your customization to `gpmdp.lua` after `-- customize here`
|
|
|
|
3. Import `gpmdp.lua` into your `rc.lua`
|
2017-08-23 11:36:08 +02:00
|
|
|
|
2017-08-14 13:17:44 +02:00
|
|
|
```lua
|
|
|
|
local gpmdp = require("path/to/gpmdp.lua")
|
|
|
|
```
|
2017-08-23 11:36:08 +02:00
|
|
|
|
2017-08-14 13:17:44 +02:00
|
|
|
4. Add the widget to your wibar
|
2017-08-23 11:36:08 +02:00
|
|
|
|
2017-08-14 13:17:44 +02:00
|
|
|
```lua
|
|
|
|
s.mywibox:setup {
|
|
|
|
layout = wibox.layout.align.horizontal,
|
|
|
|
{
|
|
|
|
layout = wibox.layout.fixed.horizontal,
|
|
|
|
gpmdp.widget,
|
|
|
|
-- ...
|
|
|
|
}
|
|
|
|
```
|