The existing code polls dbus [through a script](https://github.com/elamperti/dotfiles/blob/master/home/.config/i3/spotify_playing.sh) (using conky's `exec`) every second, which is really bad in terms of performance. It should, ideally, connect to dbus via lua and only update when playback or song data changes.
The existing code polls dbus through a script (using conky's
exec) every second, which is really bad in terms of performance.It should, ideally, connect to dbus via lua and only update when playback or song data changes.