Add Installation section to mpdarc-widget/README.md
This commit is contained in:
parent
4215fc7e92
commit
d9cfaeecd3
|
@ -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,
|
||||
...
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue