awesome/awesome-wm-widgets/mpdarc-widget/README.md

27 lines
600 B
Markdown
Raw Permalink Normal View History

2018-11-28 15:31:35 +01:00
# 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,
...
```