fixed path to mpd notification icon pointing to a non existent icon. also now it correctly uses the variable notification_icon

Former-commit-id: 8155561bd3
Former-commit-id: d045a32c7356a4f3cb88f29af3447a7d289713d7
Former-commit-id: 7158eb3aa073f72469f2d4be088b2e85b5f5120c
Former-commit-id: dc700e3eb70e185443f6f04ba7ee9bfc2a649dac
This commit is contained in:
elena 2019-01-01 00:46:13 +02:00
parent d1a3ef61ac
commit dddb56cf80

View file

@ -14,7 +14,7 @@ local title_color = beautiful.mpd_song_title_color or beautiful.wibar_fg
local artist_color = beautiful.mpd_song_artist_color or beautiful.wibar_fg
local paused_color = beautiful.mpd_song_paused_color or beautiful.normal_fg
-- Set notification icon path
local notification_icon = beautiful.mpd_icon
local notification_icon = beautiful.music_icon
local mpd_title = wibox.widget{
text = "---------",
@ -47,7 +47,7 @@ local function send_notification(artist, title)
-- text = title .. " -- " .. artist,
title = title,
text = artist,
icon = beautiful.music_icon,
icon = notification_icon,
-- width = 360,
-- height = 90,
icon_size = 60,