summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)