summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormgabs <66576612+mgabs@users.noreply.github.com>2020-11-23 21:19:52 +0200
committerGitHub <noreply@github.com>2020-11-23 21:19:52 +0200
commitde14c1325fc2bed47dcc46a8c316a96d43205392 (patch)
tree4f4925199d19e7be11e6ef93eae66bd663aac8b8
parent30199568c6a427e6495493f1d191674304f10f55 (diff)
parent5dbfab72489a06348cf332461ae8ceef592b6085 (diff)
Merge branch 'master' into pr-213
-rw-r--r--mpris-widget/init.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/mpris-widget/init.lua b/mpris-widget/init.lua
index 370957d..5144ea8 100644
--- a/mpris-widget/init.lua
+++ b/mpris-widget/init.lua
@@ -13,7 +13,7 @@ local wibox = require("wibox")
local naughty = require("naughty")
local GET_MPD_CMD =
- "playerctl -f '{{status}};{{xesam:artist}};{{xesam:title}}' metadata"
+ "playerctl -f '{{status}};{{xesam:artist}};{{xesam:title}};{{mpris:artUrl}}' metadata"
local TOGGLE_MPD_CMD = "playerctl play-pause"
local PAUSE_MPD_CMD = "playerctl pause"
@@ -27,7 +27,6 @@ local PLAY_ICON_NAME = PATH_TO_ICONS .. "/actions/24/player_play.png"
local STOP_ICON_NAME = PATH_TO_ICONS .. "/actions/24/player_stop.png"
local LIBRARY_ICON_NAME = PATH_TO_ICONS .. "/actions/24/music-library.png"
-
local mpdarc_widget = {}
local function worker(args)