This commit is contained in:
Kainoa Kanter 2025-08-20 08:48:07 -07:00
parent bc27e237c9
commit b4c8eeed2c
No known key found for this signature in database
GPG key ID: 8703CACD01000000
2 changed files with 43 additions and 0 deletions

View file

@ -213,6 +213,8 @@ Singleton {
property JsonObject audio
audio: JsonObject {
property bool showMiniplayerAlbumArt: false
property bool showMiniplayerAlbumArt: false
property string visualizerType: "linear"
}

View file

@ -198,6 +198,47 @@ ColumnLayout {
}
}
}
// Divider
NDivider {
Layout.fillWidth: true
Layout.topMargin: Style.marginL * scaling
Layout.bottomMargin: Style.marginM * scaling
}
// AudioService Visualizer Category
ColumnLayout {
spacing: Style.marginS * scaling
Layout.fillWidth: true
NText {
text: "Bar Miniplayer"
font.pointSize: Style.fontSizeXXL * scaling
font.weight: Style.fontWeightBold
color: Color.mOnSurface
Layout.bottomMargin: Style.marginS * scaling
}
// Miniplayer section
NToggle {
label: "Show Album Art In Miniplayer"
description: "Show the album art of the currently playing song next to the title."
checked: Settings.data.audio.showMiniplayerAlbumArt
onToggled: checked => {
Settings.data.audio.showMiniplayerAlbumArt = checked
}
}
NToggle {
label: "Show Audio Visualizer In Miniplayer"
description: "Shows an audio visualizer in the background of the miniplayer."
checked: Settings.data.audio.showMiniplayerCava
onToggled: checked => {
Settings.data.audio.showMiniplayerCava = checked
}
}
}
}
// Divider
NDivider {