settings
This commit is contained in:
parent
bc27e237c9
commit
b4c8eeed2c
2 changed files with 43 additions and 0 deletions
|
|
@ -213,6 +213,8 @@ Singleton {
|
||||||
property JsonObject audio
|
property JsonObject audio
|
||||||
|
|
||||||
audio: JsonObject {
|
audio: JsonObject {
|
||||||
|
property bool showMiniplayerAlbumArt: false
|
||||||
|
property bool showMiniplayerAlbumArt: false
|
||||||
property string visualizerType: "linear"
|
property string visualizerType: "linear"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
// Divider
|
||||||
NDivider {
|
NDivider {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue