Skip to content

Improve controls panel: themed media player card and vertical volume slider - #325

Open
mindlosted wants to merge 1 commit into
SimonSchubert:mainfrom
mindlosted:modernize-controls-panel
Open

mindlosted wants to merge 1 commit into
SimonSchubert:mainfrom
mindlosted:modernize-controls-panel

Conversation

@mindlosted

Copy link
Copy Markdown

Summary

This PR improves the swipe-down controls.owl panel:

  1. Themed Media Player Card:

    • Integrates media controls and now-playing status into a dedicated card matching Omarchy theme tokens (accent, foreground, background, surface, border, corners).
    • Displays live album art (or themed fallback music note) with direct tap-to-open media app.
    • Includes audio output switcher (AirPlay / Cast) invoking settings("output").
    • Track title, artist / source app, and responsive Previous, Play/Pause, and Next controls.
    • Displays "Not playing" gracefully when no media is active.
  2. Themed Vertical Volume Slider:

    • Replaces the separate horizontal slider with an integrated vertical slider styled using the theme's accent color and 8 * corners.
    • Direct interactive vertical sliding (onDrag) and tap-to-level (onTap), smoothly setting phone volume via volume(newLvl).
    • Speaker icon at the bottom with quick mute toggle, and dynamic percentage readout at the top.
  3. Validation:

    • Compiled and tested with owl-check controls.owl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant