Skip to content
Projets

Andbal23/dynamic-music-pill

Voir sur GitHub

À propos

A dynamic, elegant, and highly customizable music widget for GNOME Shell. It brings a pill-shaped media controller with a live waveform visualizer directly to your Dash or Panel.

Design et médias

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
+1
in 7 days
+3
in 15 days
+5
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original
Dynamic Music Pill — GNOME 51 Showcase

Dynamic Music Pill

Adaptive media controller, real-time Cava visualizer, and synchronized karaoke lyrics for GNOME Shell.

Install on GNOME Extensions

Downloads GNOME Shell Translation status Stars License: GPL-3.0

Dynamic Music Pill logo   ×   Simple Taskbar logo

Works smoothest with Simple Taskbar — dynamic pill width transitions glide cleanly inside Simple Taskbar's Dock and Taskbar modes without layout jumps.

Install Simple Taskbar on GNOME Extensions Simple Taskbar on GitHub


Live Preview

Dynamic Music Pill Live Preview
Real GNOME 51 capture featuring Dash to Dock, Blur my Shell refraction, live Cava spectrum bars, word-by-word karaoke lyrics, and quick subpages — download crisp MP4.

Visual Modes & Placement

Dynamic Music Pill fits naturally anywhere in GNOME Shell — inside your Dock (Dash to Dock, Ubuntu Dock, Simple Taskbar) or in any Top Panel zone (Left, Center, Right) with independent width, height, margin, and offset profiles.

Top Panel, Compact Mode, Circular Vinyl & Player Selector

  • Adaptive Color Engine & Dynamic Contrast — Automatically extracts the dominant palette from the playing track's cover art and adapts text and icons cleanly on both bright and dark covers.
  • Native Blur Integration (Blur my Shell v76+) — Real-time Dual Kawase and Liquid refraction behind both the main pill and expanded pop-up, with optional album-art color tinting and pipeline following.
  • Four Visualizer Engines — Choose Off, Wave, Beat, or Real-Time (powered by cava) with independently configurable bar counts, thickness, height, and margins.
  • Compact & Always-On Modes — Collapse down to a minimal cover + visualizer pill, or retain your last played track on startup with one-click quick launch.
  • Spinning Vinyl & Multi-Player Selector — Switch between square album art or a smoothly spinning vinyl disc, and jump between active MPRIS players right from the top of the pop-up.

Expanded Pop-up & Custom Control Buttons

Beyond Play/Pause, Next, Previous, Seek Bar, Shuffle, and Repeat, the pop-up includes two customizable quick-action button slots that open sleek frosted subpages directly inside the pop-up — no switching windows required.

Custom Button Subpages: History, Volume Mixer, Sleep Timer, Playback Speed

  • Recently Played History — Browse recent tracks with cover art, dominant color tinting, timestamps, and one-click copy.
  • System & App Volume Mixer — Adjust master volume and per-player audio streams via PipeWire/PulseAudio, plus quick mute.
  • Audio Output Switcher — Switch seamlessly between speakers, DACs, and Bluetooth headphones in place.
  • Sleep Timer — Built-in shell countdown presets (5m – 90m) that keep running even when the screen locks.
  • Playback Speed Control — Adjust playback rate (0.5× – 2.0×) for compatible MPRIS players (e.g. podcasts or browsers).
  • Quick Seek Step — Optional fast skip backward/forward action slot can also be assigned to either custom button.

Synchronized Karaoke Lyrics

  • Word-by-Word Karaoke Highlighting — Displays live synced lyrics in both the Expanded Pop-up and directly inline on the Dock or Top Panel Pill with smooth timing and configurable fade transitions.
  • Multi-Source & Preferred Script — Automatic lyrics lookup (LRCLib, Apple Music karaoke, and MPRIS metadata) with auto, original script (CJK/Hangul), or romanized/Latin preference.
  • Local Sidecar & Manual Import — Automatically detects .lrc, .ttml, and .txt files placed alongside local audio, or lets you pick a custom folder and import lyrics manually for any song.

Controls, Multi-Player & System Integration

  • Five Mouse & Hover Bindings — Independently bind Left Click, Double Click, Middle Click, Right Click, and Hover (with 0–3000 ms delay) to Play/Pause, Skip, Open/Close Player App, Open Pop-up Menu, Switch Player, or Open Settings.
  • HiDPI Scroll Gestures — Scroll on the pill to change Track, System/App Volume, or Switch Player with touchpad delta accumulation and independent scroll direction/animation inversion.
  • Tablet & Touch Controls — Optional on-pill Skip and Play/Pause buttons for touchscreens and 2-in-1s.
  • Game Mode & Performance — Automatically pauses visualizers and CSS animations whenever a fullscreen app is focused.
  • Player Filtering & App ID Mapping — Whitelist or blacklist MPRIS players (plus live browser detection) and map custom .desktop App IDs cleanly.
  • Import / Export & Factory Reset — Save or restore your complete extension configuration to a .json file at any time.

Installation

From GNOME Extensions Store (Recommended)

Manual Installation from Source

# GNOME 50+ (default main branch):
git clone https://github.com/Andbal23/dynamic-music-pill.git

# Or for GNOME 45–49:
git clone -b gnome45-49 https://github.com/Andbal23/dynamic-music-pill.git

cd dynamic-music-pill
mkdir -p ~/.local/share/gnome-shell/extensions/dynamic-music-pill@andbal
cp -r * ~/.local/share/gnome-shell/extensions/dynamic-music-pill@andbal/
glib-compile-schemas ~/.local/share/gnome-shell/extensions/dynamic-music-pill@andbal/schemas/

Log out and log back in (GNOME 50+ is Wayland-only; on GNOME 51 the Alt+F2 reload command was removed), then enable the extension via Extensions / Extension Manager or:

gnome-extensions enable dynamic-music-pill@andbal

NixOS Installation

Install via Nix Flake (CLI or declarative configuration)

Quick Install

# GNOME 50+ (main branch):
nix profile add github:Andbal23/dynamic-music-pill

# GNOME 45–49:
nix profile add github:Andbal23/dynamic-music-pill/gnome45-49

Declarative (flake.nix)

Add the input:

# GNOME 50+ (main branch):
inputs.dynamic-music-pill.url = "github:Andbal23/dynamic-music-pill";

# Or for GNOME 45–49:
# inputs.dynamic-music-pill.url = "github:Andbal23/dynamic-music-pill/gnome45-49";

Then add the package to configuration.nix or Home Manager:

environment.systemPackages = [
  inputs.dynamic-music-pill.packages.${pkgs.system}.default
];

Real-Time Cava Visualizer (Optional)

The Real-Time visualizer mode (visualizer-style = 3) uses the cava CLI package:

Distribution Command
Ubuntu / Debian sudo apt install cava
Fedora sudo dnf install cava
Arch Linux sudo pacman -S cava

Configuration (Preferences)

The Libadwaita preferences window is organized into 7 searchable tabs:

GNOME 51 Libadwaita Preferences Window

Tab 1 — Main Pill (General display, positioning & per-mode sizing)

Main Pill Preferences

Setting Description
Always ON Retains the last known track and keeps the pill visible after the media player is closed.
Show Album Art Displays the cover art thumbnail inside the pill.
Fallback Album Art Sets a custom PNG or JPEG image when the current track provides no cover art.
Show Artist / Inline Artist Displays the artist line or switches to "Title • Artist" when narrow.
Compact Mode (Hide Text) Hides title and artist text for a minimal cover + visualizer pill.
Scrolling Text Smoothly scrolls long titles/artists (with optional hover-only & freeze-on-pause).
Container Target Hosts the pill in Dock, Panel Left, Panel Center, or Panel Right.
Multi-Monitor Docks Choose between Main Dock Only, All Docks, or Secondary Docks Only.
Dynamic Width / Alignment / Offsets Auto-fits width up to cap, sets alignment/manual index, and tunes X/Y offsets & dimensions separately for Dock and Panel modes.
Tab 2 — Pop-up Menu (Vinyl art, custom buttons, player selector & pop-up visualizer)

Pop-up Menu Preferences

Setting Description
Close on Mouse Leave Auto-hides the pop-up when the cursor moves outside it.
Show Album Title / HH:MM:SS Optionally append album name after artist and display hours for long tracks.
Enable Shadow & Inheritance Toggle pop-up shadow and independently inherit transparency, border radius, and custom colors.
Show / Rotate / Square Vinyl Display circular rotating vinyl disc (adjustable speed) or static rounded square cover.
Shuffle & Repeat Controls Toggle shuffle and repeat loop buttons inside the pop-up bar.
Custom Control Buttons (Slot 1 & 2) Bind two extra pop-up buttons to Volume, Audio Output, Sleep Timer, Playback Speed, Recently Played, or Seek Step.
Player Selector Displays active MPRIS players cleanly at the top of the pop-up (optional Auto selector toggle).
Pop-up Visualizer Independent bar count (2–64), width (1–20 px), height, and option to hide the main pill visualizer while open.
Tab 3 — Controls (Mouse bindings, hover delay, touchpad/wheel scroll & tablet overlay)

Controls Preferences

Setting Description
Mouse & Hover Actions Map Left Click, Double Click, Middle Click, Right Click, and Hover (0–3000 ms delay) independently.
Scroll Controls Enable scrolling on the pill to Change Track, Change Volume, or Switch Player.
Volume Scroll Target Choose System Master Volume or Active Player Application volume.
Invert Animation / Direction Independently invert the scroll jump animation and scroll wheel/touchpad direction.
Tablet Mode Controls Overlay Skip Only, Play/Pause Only, or All Controls directly on the pill.
Tab 4 — Lyrics (Synced karaoke display, script preference & local `.lrc`/`.ttml` import)

Lyrics Preferences

Setting Description
Lyrics Display & Fade Toggle live synchronized lyrics and configure line transition duration (50–2000 ms).
Word-Level Karaoke Enable per-word karaoke highlight progression directly on the pill and pop-up.
Preferred Script Choose Auto, Prefer Original Script (CJK/Hangul), or Prefer Latin / Romanized.
Local Lyrics Folder Point to a folder of .lrc, .ttml, or .txt files for automatic offline lookup.
Manual Lyrics Import Attach a local .lrc, .ttml, or .txt file to the currently playing track or any custom title/artist.
Tab 5 — Style & Layout (Audio visualizer, Blur my Shell pipelines, colors & transparency)

Style and Layout Preferences

Setting Description
Visualizer Style & Dimensions Off, Wave, Beat, or Real-Time (cava), plus bar count, bar width, height, and margin.
Dynamic Blur (Blur my Shell) Enable blur behind Pill and Pop-up, tint blur with album art, or follow your Blur my Shell Dual Kawase / Liquid pipelines.
Colors & Light Mode Light Mode, Sync GNOME Accent Color, or custom background, text, and visualizer color overrides.
Per-Layer Transparency & Outline Global opacity slider plus independent transparency switches for art, text, and visualizer, outline border, and drop shadow.
Tab 6 — System & Reset (Game Mode, player filtering, App ID mapping & JSON backup)

System Preferences

Setting Description
Hide Default GNOME Player Removes the duplicate built-in media controls from GNOME Quick Settings.
Game Mode & Slow Player Fix Auto-pauses animations in fullscreen apps, and optional compatibility delay for slower MPRIS players.
Player Filter & App ID Mapping Live D-Bus player detection to Whitelist/Blacklist players or pair custom MPRIS names to .desktop App IDs.
Export / Import / Reset Serialize full preferences to .json, restore backups, or reset to defaults.
Tab 7 — About (Version changelog, Weblate status & project links)

About and Changelog Preferences


Contributors

Dynamic Music Pill is built by András László (@Andbal23) together with community code contributors and translators worldwide!

Translations (Hosted Weblate)

  • Arabic: Issam Khalaf
  • Chinese (Simplified): LuceLoong, O2bmm
  • Dutch: Heimen Stoffels, László András
  • French: Ocin4ever, elmagio, lebao3105
  • German: Christian Lauinger
  • Hindi: Dhananjay Porwal
  • Hungarian: László András
  • Indonesian: Arif Budiman, Joy, RafifSakti
  • Italian: albanobattistella, talpinum, gio
  • Japanese: penne
  • Portuguese: ssantos
  • Portuguese (Brazil): Guilherme Odai, @silveirajhess-cyber
  • Russian: Daniel Freak, slytheduck
  • Spanish: @champinondev-lab, Elsie, yael
  • Swedish: Andreas Rheindorf, László András
  • Tamil: @tamilneram247
  • Turkish: Yiğithan Karabel, Buğra Çağlar
  • Ukrainian: Олег Попов, László András
  • Vietnamese: Huynh Tuan Dung, lebao3105

Support & More Extensions

Buy Me A Coffee Ko-fi

Check out more GNOME extensions: Extension Profiles · Timed Do Not Disturb

Star History


License

This project is licensed under the GPL-3.0 License.

Made with ❤️ for the GNOME community.

Explorer des projets similaires

Chargement…