From c95ff15ab4eea8d9673fc5f04e665fbcf4ee4421 Mon Sep 17 00:00:00 2001 From: gaberm Date: Mon, 16 Nov 2020 21:38:16 +0200 Subject: adding an mpris widget --- mpris-widget/README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 mpris-widget/README.md (limited to 'mpris-widget/README.md') 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, + ... +``` -- cgit v1.2.3