]> git.rmz.io Git - dotfiles.git/blobdiff - awesome/widgets/mpd_widget.lua
awesome/mpd_widget: add defalut album art if none available
[dotfiles.git] / awesome / widgets / mpd_widget.lua
index 8e962c671cf342a107a926c963daa41ddf93d7fb..e71e0873787dbcce971f75c498e52337726fd477 100644 (file)
@@ -79,7 +79,7 @@ function widget:popup_show()
         if self._notification then return end
         self._notification = naughty.notify(
             { title = table.title
-            , icon = table.icon
+            , icon = table.icon or beautiful.mpd_default_album
             , icon_size = 64
             , text = table.text
             , timeout = 0