2018-04-15 03:26:50 +02:00
# MPD Widget
2018-04-15 03:28:32 +02:00
Music Player Daemon widget by @raphaelfournier .
2018-04-15 03:26:50 +02:00
# Prerequisite
2023-09-21 00:09:25 +02:00
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:
2018-04-15 03:26:50 +02:00
2018-04-15 03:28:32 +02:00
```bash
2018-04-15 03:26:50 +02:00
sudo apt-get install mpd mpc
2018-04-15 03:28:32 +02:00
```
2018-04-15 03:26:50 +02:00
2018-11-02 22:56:55 +01:00
## Installation
2018-04-15 03:26:50 +02:00
2018-11-02 22:56:55 +01:00
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,
...
```