summaryrefslogtreecommitdiff
path: root/mpris-widget/README.md
blob: 214243d0993f2ee7d4f4e72e351bf6531ce9192a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# MPRIS Widget (In progress)

Music Player Info widget cy @mgabs

# Prerequisite

Install `playerctl` (mpris implementation), should be available in repo, e.g. for Ubuntu:

```bash
sudo apt-get install playerctl
```

## Installation

To use this widget clone repo under **~/.config/awesome/** and then add it in **rc.lua**:

```lua
local mpris_widget = require("awesome-wm-widgets.mpris-widget")
...
s.mytasklist, -- Middle widget
	{ -- Right widgets
    layout = wibox.layout.fixed.horizontal,
		...
    mpris_widget(),
		...
```