Add Installation section to mpdarc-widget/README.md

This commit is contained in:
Hasan Ramezani 2018-11-02 22:56:55 +01:00
parent 4215fc7e92
commit d9cfaeecd3
No known key found for this signature in database
GPG Key ID: D0E2D7CE14B68267
1 changed files with 13 additions and 1 deletions

View File

@ -10,5 +10,17 @@ Install `mpd` (Music Player Daemon itself) and `mpc` (Music Player Client - prog
sudo apt-get install mpd mpc
```
Set them up and then just follow the [installation](https://github.com/streetturtle/awesome-wm-widgets#installation) section of the repo.
## 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,
...
```