From d799175c079b00b6fafa64ee41d326dd9572cf37 Mon Sep 17 00:00:00 2001 From: bbedward Date: Tue, 7 Jul 2026 18:36:38 -0400 Subject: [PATCH] media: tweak seek bar accent color --- quickshell/Services/MediaAccentService.qml | 3 +++ quickshell/Widgets/DankSeekbar.qml | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/quickshell/Services/MediaAccentService.qml b/quickshell/Services/MediaAccentService.qml index 1c7d0de87..456c125c4 100644 --- a/quickshell/Services/MediaAccentService.qml +++ b/quickshell/Services/MediaAccentService.qml @@ -23,6 +23,9 @@ Singleton { readonly property color accentHover: Theme.withAlpha(accent, 0.12) readonly property color accentPressed: Theme.withAlpha(accent, Theme.transparentBlurLayers ? 0.24 : 0.16) + readonly property color accentTrack: Theme.withAlpha(accent, 0.28) + readonly property color accentSubtle: Theme.withAlpha(accent, 0.55) + // Plain-named alias: underscore-prefixed props with onChanged handlers crash config load. readonly property string artUrl: TrackArtService.resolvedArtUrl onArtUrlChanged: { diff --git a/quickshell/Widgets/DankSeekbar.qml b/quickshell/Widgets/DankSeekbar.qml index ee301a32a..d84573247 100644 --- a/quickshell/Widgets/DankSeekbar.qml +++ b/quickshell/Widgets/DankSeekbar.qml @@ -144,7 +144,8 @@ Item { showActualPlaybackState: root.isSeeking fillColor: MediaAccentService.accent playheadColor: MediaAccentService.accent - actualProgressColor: Theme.onSurface_38 + trackColor: MediaAccentService.accentTrack + actualProgressColor: MediaAccentService.accentSubtle isPlaying: activePlayer && activePlayer.playbackState === MprisPlaybackState.Playing MouseArea {