Back to Blog
Add Music Controls to Your Mac Dock

Add Music Controls to Your Mac Dock

Control Spotify and Apple Music without switching apps. A deep dive into Dockspace's music widget — what it shows, how it works, and why it belongs in your dock.

Music and deep work have a complicated relationship. Background music helps many people concentrate, but interacting with music — skipping a song, checking the artist, adjusting playback — breaks concentration. Every time you switch to Spotify or Apple Music, you spend 3–5 seconds navigating an app just to press a button.

The solution is not to stop using music. It is to get music controls somewhere more accessible. The Mac Dock sits at the bottom of your screen, always one glance away. That is exactly where playback controls should live.

Dockspace's music widget puts your current song, artist, and basic playback controls directly in the Dock. Here is everything it does and how to set it up.

Headphones on a MacBook keyboard — music controls in the macOS Dock

The Context-Switch Problem

Open apps have a cognitive tax. When you switch from your current task to Spotify, your brain needs a moment to register the new interface, locate the skip button, process what song is next, and then navigate back. That is a small cost per switch, but it compounds across a full workday.

The options available before Dockspace were limited:

  • Menu bar music apps — Add another icon to an already crowded menu bar, requiring a click to reveal controls.
  • Touch Bar — Useful on 2016–2021 MacBook Pros, but discontinued. No Touch Bar on current hardware.
  • Control Center — The Now Playing widget is buried two clicks deep in Control Center.
  • Media keys — Good for play/pause and skip, but show nothing about what is playing.
  • Keyboard shortcuts within the app — Requires the app to be in the foreground or to use global shortcut managers.

None of these let you see what is playing without switching focus or clicking into a menu. The Dock widget solves the display problem: the song title and artist are visible at a glance, no click required.

What the Music Widget Shows

The Dockspace music widget displays, within the Dock itself:

  • Album art — A small thumbnail of the current album or playlist cover
  • Song title — Truncated for space but readable
  • Artist name — Below the song title
  • Playback controls — Previous track, play/pause toggle, next track
  • Playback state indicator — Visual indication of whether audio is playing or paused

The widget updates in real time as tracks change. When a new song starts, the album art and text swap instantly via macOS's Now Playing notification system — there is no polling interval or delay.

Smart Behavior

When nothing is playing, the music widget collapses automatically so it does not take up Dock space. It reappears the moment playback begins. You get the information only when it is relevant.

Supported Music Apps

The music widget integrates with macOS's Now Playing API — the same system that populates the Control Center music control. Any app that registers with this API is automatically supported. In practice, that means:

  • Spotify — Full support, current song and controls
  • Apple Music — Full support, current song and controls
  • Podcasts — Episode title, podcast name, playback controls
  • YouTube Music (browser) — Supported when the browser tab is actively playing
  • Doppler and other third-party music apps — Supported if they register with Now Playing

The widget reflects whichever source is actively playing. If you pause Spotify and start a podcast, the widget switches to show the podcast automatically.

How It Works Technically

Dockspace subscribes to macOS's MPNowPlayingInfoCenter notifications — the same API used by Control Center, CarPlay, and AirPlay. When the Now Playing state changes (new track, play, pause, artist change), the notification fires and Dockspace updates the widget in the Dock.

This event-driven approach means zero polling. Dockspace is not checking "what song is playing?" every second — it receives a notification when the answer changes. That is why the CPU footprint stays under 1% even with all widgets active.

Playback controls work by sending standard media key events through the macOS media remote system. This is the same mechanism that physical media keys use on the keyboard, so it is fully compatible with every app that responds to media keys.

Setting It Up

  1. Download Dockspace from getdockspace.app and open it.
  2. Open Dockspace Preferences — look for the Dockspace icon in the menu bar and click it, or open the Dockspace app from the Applications folder.
  3. Navigate to Widgets in the preference pane and enable the Music widget toggle.
  4. No additional permissions needed — the Now Playing API is accessible without explicit user permission grants.
  5. Start playing something in Spotify or Apple Music and look at your Dock.

The widget appears immediately without a Dock restart. If you want to position the widget differently (left or right side of the Dock), drag it in the Preferences panel.

Music controls in your Dock in under two minutes. Dockspace is free to download.

Download Dockspace

Real-World Use Cases

Developers During Long Build Cycles

Code compiles, tests run, CI pipelines grind — there is a lot of idle time in development work. Music fills that time well. The Dock music widget means you can skip a song or check the track name during a build wait without breaking your terminal or IDE focus.

Designers in Deep Work Sessions

Design tools are full-screen and immersive. Figma, Sketch, and Photoshop reward extended focus. Having music controls in the Dock means you do not have to break out of a design session just to skip an interrupting track.

Writers Using Full-Screen Mode

Full-screen writing apps like iA Writer and Ulysses are deliberately distraction-free. The Dock appears on hover when you move to the bottom of the screen, making the music widget accessible without permanently breaking the full-screen environment.

Video Editors Monitoring Background Audio

Video editors often keep reference music playing while they work. The music widget makes it easy to track what is playing and manage playback without switching spaces.

Compared to Other Solutions

Solution Visibility Controls Screen Cost
Spotify open in background Only if visible Full Window or taskbar space
Control Center Now Playing Click to reveal Play/pause, skip Menu bar icon
Menu bar music app Click to reveal Varies Menu bar slot
Media keys only None Play/pause, skip None
Dockspace music widget Always visible Play/pause, skip, track info Dock space (shared with widgets)

The key differentiator is passive visibility. You do not have to click anything to see what is playing. The information is just there, in the Dock, the same way a song title would be visible on a speaker display across the room.

For more on Dockspace's full widget suite, see the best Mac Dock widgets in 2026 guide.

Frequently Asked Questions

Can macOS show music controls in the Dock natively?

No. The native Dock shows app icons, running indicators, and badges. Music controls require a third-party app like Dockspace that uses the macOS Now Playing API to display playback information in the Dock space.

Does the music widget work with Spotify's free plan?

Yes. The widget uses macOS's Now Playing system, which Spotify populates regardless of plan tier. The free vs. paid distinction is within Spotify itself — the widget reflects whatever Spotify is playing.

What happens when I pause music?

The widget transitions to a paused state. The album art and track info remain visible so you can see what was playing, with a play button ready when you want to resume.

Can I like or heart a song from the Dock widget?

Not currently. The widget provides play/pause and skip controls. Rating or saving a track still requires opening the music app. This is a feature candidates for future Dockspace updates.

Does the music widget work when Spotify is minimized?

Yes. The Now Playing API works regardless of whether the app is in the foreground, minimized, or even when its window is closed entirely (as long as Spotify is running in the background).

Is the music widget available in the free version of Dockspace?

Yes. The music widget is part of the free tier. The Pro upgrade adds configuration options such as widget sizing and custom placement, but the core widget functions without a purchase.