Skip to content

Spotify

Control the Spotify client.

Configuration

spotify:
  enabled: true
  colors:
    label: "green"
    text: "white"
  position:
    top: 1
    left: 2
    height: 1
    width: 1
  refreshInterval: 0

Attributes

Name Value
colors.label
Optional The color for labels. Default: green.
Any X11 color name or long-form hex value (i.e.: #ff0000).
colors.text
Optional The color for text. Default: white.
Any X11 color name or long-form hex value (i.e.: #ff0000).

Keyboard

Key Action
/ Open/close the widget's help modal
[return] Open the selected item in the browser
[space] Play/pause the currently-selected song
h Play previous song
l Play next song
r Refresh the data

Source Code

https://github.com/wtfutil/wtf/tree/master/modules/spotify