mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
add interval to settings, update the script (it was not working as intented)
This commit is contained in:
@@ -63,15 +63,26 @@ ContentPage {
|
||||
|
||||
ConfigSpinBox {
|
||||
icon: "timer_off"
|
||||
text: Translation.tr("Music recognition timeout (s)")
|
||||
text: Translation.tr("Total duration timeout (s)")
|
||||
value: Config.options.musicRecognition.timeout
|
||||
from: 2
|
||||
from: 10
|
||||
to: 100
|
||||
stepSize: 2
|
||||
onValueChanged: {
|
||||
Config.options.musicRecognition.timeout = value;
|
||||
}
|
||||
}
|
||||
ConfigSpinBox {
|
||||
icon: "av_timer"
|
||||
text: Translation.tr("Polling interval (s)")
|
||||
value: Config.options.musicRecognition.interval
|
||||
from: 2
|
||||
to: 10
|
||||
stepSize: 1
|
||||
onValueChanged: {
|
||||
Config.options.musicRecognition.interval = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ContentSection {
|
||||
|
||||
Reference in New Issue
Block a user