---
title: "Spotify"
date: 2018-10-02T17:13:11-07:00
draft: false
weight: 205
---
Control the Spotify client.
## Source Code
```bash
wtf/spotify/
```
## Keyboard Commands
Key: `/`
Action: Open/close the widget's help window.
Key: `space`
Action: Play/pause the currently-selected
track
Key: `h`
Action: Play previous song
Key: `l`
Action: Play next song
## Configuration
```yaml
spotify:
enabled: true
position:
top: 1
left: 2
height: 1
width: 1
refreshInterval: 0
```
## Attributes
`enabled`
Determines whether or not this module is executed and if its data displayed onscreen.
Values: `true`, `false`.
`position`
Defines where in the grid this module's widget will be displayed.
`refreshInterval`
How often, in seconds, this module will update its data.
Values: A positive integer, `0..n`.