danielfm / smudge

Control the Spotify app from within Emacs.
https://asciinema.org/a/218654
GNU General Public License v3.0
317 stars 47 forks source link

[Suggestion] Use a function for smudge-status-location #75

Open sebasmonia opened 3 years ago

sebasmonia commented 3 years ago

It would be nice if smudge-status-location accepted a function, with two already provided to display the text in the modeline or title bar (current features). Right now I would like to display the player status somewhere else, and I can hook a timer to smudge-remote-player-status-text on my own, but then I need to duplicate the logic to detect if the player is running or not.

Great package :)

danielfm commented 3 years ago

Hey! This is not a feature I currently need, so I'll probably not going to implement this change, but if you are willing to send a PR, I'll be happy to merge it.

sebasmonia commented 3 years ago

Will give it a try :)