Py3spotifystatus
Widget for py3status bar to display the current Spotify song and artist
Install / Use
/learn @jthistle/Py3spotifystatusREADME
py3spotifystatus - Spotify widget for py3status bar for i3 window manager

This is a widget for the py3status for i3 which displays the current Spotify song and artist, and the current progress through the song.
This is an updated verison of rpieja's i3spotifystatus (unmaintained since 2018). Bug reports and pull requests are welcome! I will attempt to respond as soon as possible.
Requirements
- py3status
- Spotify desktop app - web player is not enough
- (optional) FontAwesome for the desktop if you want Spotify logo in status bar
The other requirements are dbus and Python 3, which you shouldn't need to worry about since they come bundled with most distros. You also need i3, obviously.
Installation
- Clone repository to your preferred location
- Update your
i3status.confwith
order += "external_script"
# ...
external_script {
script_path = "/path/to/i3spotifystatus/pystatus.py"
cache_timeout = 1
}
- (optional) keybindings can be added through i3
configfile, e.g.
bindsym $mod+$alt+D exec /path/to/i3spotifystatus/sendCommand.sh playpause
# etc.
Configuration
There are some options you can set at the top of the pystatus.py script by editing it. They are documented in the script.
Examples
Widget with all config options on, while playing:

While paused (and demonstrating non-latin song titles):

Showing truncation of long song titles:

With song progress turned off:

Changes in this version
In this version I:
- Added song progress to widget
- Added podcast support
- Added
sendCommand.shscript, which can be used to remotely control the Spotify player, for example using i3 mod keybindings - Changed output format of
pystatus.pyto work with py3status - Updated colours to match current Spotify branding
- Fixed multiple bugs
Credits
Original i3spotifystatus by rpieja.
Original credits:
Script is based on sample wrapper commited on original i3status repository.
Awk script by @csssuf.
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
