mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Audioviz effects: minimal signal option for a better look in the bar
This commit is contained in:
@@ -89,18 +89,13 @@ Item {
|
||||
acceptedButtons: Qt.LeftButton
|
||||
|
||||
onClicked: mouse => {
|
||||
console.log("CavaVisualizer clicked! Current type:", currentVisualizerType)
|
||||
const types = ["linear", "mirrored", "wave"]
|
||||
const currentIndex = types.indexOf(currentVisualizerType)
|
||||
const nextIndex = (currentIndex + 1) % types.length
|
||||
const newType = types[nextIndex]
|
||||
|
||||
console.log("Switching from", currentVisualizerType, "to", newType)
|
||||
|
||||
// Update settings directly
|
||||
Settings.data.audio.visualizerType = newType
|
||||
|
||||
console.log("Settings saved")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,6 +111,7 @@ Item {
|
||||
LinearSpectrum {
|
||||
anchors.fill: parent
|
||||
values: CavaService.values
|
||||
showMinimumSignal: true
|
||||
fillColor: Color.mPrimary
|
||||
}
|
||||
}
|
||||
@@ -125,6 +121,7 @@ Item {
|
||||
MirroredSpectrum {
|
||||
anchors.fill: parent
|
||||
values: CavaService.values
|
||||
showMinimumSignal: true
|
||||
fillColor: Color.mPrimary
|
||||
}
|
||||
}
|
||||
@@ -134,6 +131,7 @@ Item {
|
||||
WaveSpectrum {
|
||||
anchors.fill: parent
|
||||
values: CavaService.values
|
||||
showMinimumSignal: true
|
||||
fillColor: Color.mPrimary
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user