tweaks in settings/config

This commit is contained in:
vaguesyntax
2025-11-01 16:00:32 +03:00
parent ace8802480
commit 0c587415ea
2 changed files with 17 additions and 24 deletions
@@ -465,7 +465,7 @@ Singleton {
}
property JsonObject screenSnip: JsonObject {
property string savePath: "/home/vaguesyntax/Pictures"
property string savePath: "" // only copy to clipboard when empty
}
property JsonObject sounds: JsonObject {
@@ -89,32 +89,25 @@ ContentPage {
icon: "file_open"
title: Translation.tr("Save paths")
ContentSubsection {
title: Translation.tr("Video save path")
MaterialTextArea {
Layout.fillWidth: true
placeholderText: Translation.tr("Path")
text: Config.options.screenRecord.savePath
wrapMode: TextEdit.Wrap
onTextChanged: {
Config.options.screenRecord.savePath = text;
}
}
}
ContentSubsection {
title: Translation.tr("Screenshot save path") + " (leave empty to just copy)"
MaterialTextArea {
Layout.fillWidth: true
placeholderText: Translation.tr("Path")
text: Config.options.screenSnip.savePath
wrapMode: TextEdit.Wrap
onTextChanged: {
Config.options.screenSnip.savePath = text;
}
MaterialTextArea {
Layout.fillWidth: true
placeholderText: Translation.tr("Video Recording Path")
text: Config.options.screenRecord.savePath
wrapMode: TextEdit.Wrap
onTextChanged: {
Config.options.screenRecord.savePath = text;
}
}
MaterialTextArea {
Layout.fillWidth: true
placeholderText: Translation.tr("Screenshot Path (leave empyt to just copy)")
text: Config.options.screenSnip.savePath
wrapMode: TextEdit.Wrap
onTextChanged: {
Config.options.screenSnip.savePath = text;
}
}
}
ContentSection {