summaryrefslogtreecommitdiff
path: root/mpris-widget
AgeCommit message (Collapse)Author
2023-10-19Make player duration and status appear on hoverRowan
This commit adds displaying player metadata in a popup when the user hovers over the mpris-widget
2021-10-16mpris-widget: delete on mouse::enter codeRomanos Skiadas
this code is janky, because the notification is set asynchronously, it can end up not being cleaned by the mouse exit and then you can end up with multiple ones. Also, the image field of the table needs to be icon, but if the icon is an http url like some players print or even a local file like firefox does, setting the icon causes an error as it can't be read.
2021-10-15mpris-widget: correct artUrlRomanos Skiadas
Perhaps due to the regex change, or maybe it never did work, art was always nil. Use gears.string.split(), which works, is much easier to read than the regex and removes the need to munge the artUrl after too.
2021-10-15mpris-widget: make play/pause icon workRomanos Skiadas
The middle part of mpris_widget was meant to be a play/pause icon. It only displayed a circle, as an unrelated widget that was not shown was set up and modified according to the play state. Delete the invisible widget, add the icon where it should be.
2021-10-15mpris-widget: enable notification on mouse enterRomanos Skiadas
use the right widget and it just works(TM). Changed the title to not have bold formatting, as it's already formatted and the <b> was printed literally, changed the <b>by</b> to - as it looks nicer to me.
2021-10-15mpris-widget: remove more dead codeRomanos Skiadas
no need to update a widget that is never updated
2021-10-15mpris-widget: rename mpdstatus to player_statusRomanos Skiadas
2021-10-15mpris-widget: fix api callRomanos Skiadas
there is no naughty.notification, notify returns a notification
2021-10-15mpris-widget: correctly clean list of playersRomanos Skiadas
Do it outside the loop, otherwise the last player wins.
2021-10-15mpris-widget: fix incorrect boolean expressionRomanos Skiadas
the loop is not meant to be executed if the player name is nil or '', so the expression needs to be an and.
2021-10-15mpris-widget: remove some dead codeRomanos Skiadas
the mpdarc widget is not really used and is a copy-paste leftover. The current widget has its own bindings already.
2021-08-23mpris-widget: fix capture regex for playerctl outputRomanos Skiadas
Before, the table ended up being something like {"status", "", "artist", "", ..}, so the output of the widget was garbled.
2021-08-23mpris-widget: fix call to set_textRomanos Skiadas
.set_text is invalid, it should be :set_text like in the other branches of the if.
2021-08-23mpris-widget: fix README, typoRomanos Skiadas
2020-12-17fix buildstreetturtle
2020-12-14ultimate volume widget improvementsstreetturtle
2020-12-05fix more warningsstreetturtle
2020-11-25Added image icon for streaming from firefoxgaberm
2020-11-23Merge branch 'master' into pr-213mgabs
2020-11-23added icon to mpris popupgaberm
2020-11-23wrap widget in a functionstreetturtle
2020-11-21Fixed notify status - mpris widgetgaberm
2020-11-16adding an mpris widgetgaberm