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
Name Description Value
border Optional Whether or not to draw this widget with a border. Default: true. true, false
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).
enabled Optional Whether or not this module is executed and if its data displayed onscreen. Default: false. true, false
position Defines where in the grid this module’s widget will be displayed.
refreshInterval Optional How often, in seconds, this module will update its data. Default: 300. Any positive integer.

Keyboard Controls

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

Source Code

wtf/modules/spotify/