summaryrefslogtreecommitdiff
path: root/mpdarc-widget/README.md
blob: a83a39b5f6d54632db426add9c2c9a4456ac158e (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
# MPD Widget

Music Player Daemon widget by @raphaelfournier.

# Prerequisite

Install `mpd` (Music Player Daemon itself) and `mpc` (Music Player Client - program for controlling mpd), both should be available in repo, e.g. for Ubuntu:

```bash
sudo apt-get install mpd mpc
```

## Installation

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

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