diff --git a/desktop/widgets/mpc.lua b/desktop/widgets/mpc.lua index efee19d..4704ee1 100644 --- a/desktop/widgets/mpc.lua +++ b/desktop/widgets/mpc.lua @@ -24,7 +24,7 @@ mpc_widget.volume.forced_width = beautiful.dpi(10) mpc_widget.icon_play = wibox.widget { resize = true, - image = beautiful.icons.music.blue.play, + image = beautiful.icons.music.blue.playing, widget = wibox.widget.imagebox } @@ -149,11 +149,11 @@ mpc_widget.update_status = function(stdout) stop = not (play or pause) if (play) then - mpc_widget.icon_play.image = beautiful.icons.music.blue.play + mpc_widget.icon_play.image = beautiful.icons.music.blue.playing elseif (pause) then - mpc_widget.icon_play.image = beautiful.icons.music.blue.pause + mpc_widget.icon_play.image = beautiful.icons.music.blue.paused elseif (stop) then - mpc_widget.icon_play.image = beautiful.icons.music.blue.stop + mpc_widget.icon_play.image = beautiful.icons.music.blue.stopped end volume = string.match(stdout, "volume: (%d?%d?%d)%%") diff --git a/theme/resources/icons.lua b/theme/resources/icons.lua index 75dc516..3e3e66b 100755 --- a/theme/resources/icons.lua +++ b/theme/resources/icons.lua @@ -14,15 +14,15 @@ return { music = { grey = { - play = conf.icon_dir .. "music/play-grey.svg", - pause = conf.icon_dir .. "music/pause-grey.svg", - stop = conf.icon_dir .. "music/stop-grey.svg" + playing = conf.icon_dir .. "music/pause-grey.svg", + paused = conf.icon_dir .. "music/play-grey.svg", + stopped = conf.icon_dir .. "music/stop-grey.svg" }, blue = { - play = conf.icon_dir .. "music/play-blue.svg", - pause = conf.icon_dir .. "music/pause-blue.svg", - stop = conf.icon_dir .. "music/stop-blue.svg" + playing = conf.icon_dir .. "music/pause-blue.svg", + paused = conf.icon_dir .. "music/play-blue.svg", + stopped = conf.icon_dir .. "music/stop-blue.svg" } },