Skip to content

Latest commit

 

History

History
59 lines (43 loc) · 2.24 KB

README.md

File metadata and controls

59 lines (43 loc) · 2.24 KB

Spotify Now Playing

Build GitHub issues GitHub all releases

A menu bar app which shows currently playing song on Spotify:

Playing:

screenshot

Paused:

screenshot2

Click on the bar toggles the playback. It is also possible to setup shortcuts to play next/previous track and toggle the playback - see below.

Installation

  • install Hammerspoon - a powerfull automation tool for OS X

    • Manually:

      Download the latest release, and drag Hammerspoon.app from your Downloads folder to Applications.

    • Homebrew:

      brew install hammerspoon --cask

  • download spotify-now-playing.spoon, unzip and double click on a .spoon file. It will be installed under ~/.hammerspoon/Spoons folder.

  • open ~/.hammerspoon/init.lua and add the following snippet, adding your parameters:

-- Spotify current song
hs.loadSpoon("spotify-now-playing")
spoon['spotify-now-playing']:start()
spoon['spotify-now-playing']:bindHotkeys(
  {
    next={ {"alt"}, "."},
    prev={ {"alt"}, ","},
    playpause={ {"alt"}, "/"}
  }
)

The config above sets up the ollowing shortcuts:

  • + , - play next track
  • + . - play previous track
  • + / - play/pause