/spotify-controls

GNOME Shell extension that adds Spotify playback controls and track info to the top bar. This extension is not affiliated, funded, or in any way associated with Spotify.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Spotify Controls Spotify Controls Logo

Spotify Controls is a GNOME 45+ Shell extension that integrates Spotify playback controls directly into your GNOME top bar. With this extension, you can effortlessly manage your Spotify music without leaving your workflow. It displays the Spotify logo, current artist, track title, and provides intuitive play/pause, next, and previous buttons.

Features

  • Real-Time Track Information: Displays the current artist and track title being played on Spotify.
  • Playback Controls: Includes play/pause, next, and previous buttons for seamless music management.
  • Dynamic Visibility: The indicator appears in the top bar only when Spotify is running.
  • Customizable Position: Choose where the Spotify Controls appear in the top bar (e.g., far-left, center, far-right).

Screenshots

Spotify Controls in Action

The Spotify Controls indicator displaying current track information and playback buttons in the GNOME top bar.

Installation

  1. Install GNOME Shell Integration:

  2. Install Native Connector:

    • Open your terminal and run:
      sudo apt install chrome-gnome-shell
      Note: The package name may vary based on your Linux distribution.
  3. Visit the Extension Page:

  4. Toggle the Switch:

    • Click the toggle switch to install the extension. You may be prompted to confirm the installation.

Manually from GitHub

  1. Clone the Repository:
    git clone https://github.com/Sonath21/spotify-controls.git
    

Version 8, added support for:

  • Added option to hide playback controls from the top bar
  • Bug fix: the extension caused the distance between the default GNOME top bar icons to be bigger than normal.
  • Bug fix: when opening spotify for the first time, sometimes the name of the artist and the song did not load correctly on fedora environments.

Version 5, added support for:

  • Open spotify by pressing on the extension on the top bar
  • Option to move the playback controls to the left