From 0c587415eadd3081c968d061fd1b6f921d2ee888 Mon Sep 17 00:00:00 2001 From: vaguesyntax Date: Sat, 1 Nov 2025 16:00:32 +0300 Subject: [PATCH] tweaks in settings/config --- .../quickshell/ii/modules/common/Config.qml | 2 +- .../ii/modules/settings/ServicesConfig.qml | 39 ++++++++----------- 2 files changed, 17 insertions(+), 24 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/common/Config.qml b/dots/.config/quickshell/ii/modules/common/Config.qml index db8171b45..8a3b51c73 100644 --- a/dots/.config/quickshell/ii/modules/common/Config.qml +++ b/dots/.config/quickshell/ii/modules/common/Config.qml @@ -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 { diff --git a/dots/.config/quickshell/ii/modules/settings/ServicesConfig.qml b/dots/.config/quickshell/ii/modules/settings/ServicesConfig.qml index 5511a6bad..3f5f25f45 100644 --- a/dots/.config/quickshell/ii/modules/settings/ServicesConfig.qml +++ b/dots/.config/quickshell/ii/modules/settings/ServicesConfig.qml @@ -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 {