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

27 lines
531 B
Markdown
Raw Permalink Normal View History

2020-12-15 04:33:56 +01:00
# MPRIS Widget (In progress)
2020-11-16 20:38:16 +01:00
Music Player Info widget cy @mgabs
# Prerequisite
2023-09-21 00:09:25 +02:00
Install `playerctl` (mpris implementation), should be available in repo, e.g. for Ubuntu:
2020-11-16 20:38:16 +01:00
```bash
sudo apt-get install playerctl
```
## Installation
To use this widget clone repo under **~/.config/awesome/** and then add it in **rc.lua**:
```lua
local mpris_widget = require("awesome-wm-widgets.mpris-widget")
...
s.mytasklist, -- Middle widget
{ -- Right widgets
layout = wibox.layout.fixed.horizontal,
...
2021-08-23 09:56:34 +02:00
mpris_widget(),
2020-11-16 20:38:16 +01:00
...
```