summaryrefslogtreecommitdiff
path: root/mpris-widget/README.md
diff options
context:
space:
mode:
authorgaberm <gaberm@gmail.com>2020-11-16 21:38:16 +0200
committergaberm <gaberm@gmail.com>2020-11-16 21:38:16 +0200
commitc95ff15ab4eea8d9673fc5f04e665fbcf4ee4421 (patch)
treef28b70c1f2b335f79b79d31cf8274ab6cc67b572 /mpris-widget/README.md
parent874833eb3c999c2f8a347f2f26d7cb66245883a0 (diff)
adding an mpris widget
Diffstat (limited to 'mpris-widget/README.md')
-rw-r--r--mpris-widget/README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/mpris-widget/README.md b/mpris-widget/README.md
new file mode 100644
index 0000000..317385f
--- /dev/null
+++ b/mpris-widget/README.md
@@ -0,0 +1,26 @@
+# MPRIS Widget
+
+Music Player Info widget cy @mgabs
+
+# Prerequisite
+
+Install `playerctl` (mpris implementation), should be available in repo, e.g for Ubuntu:
+
+```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,
+ ...
+ mpris_widget,
+ ...
+```