1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-04 04:42:05 -04:00

clipboard: option to paste on enter

fixes #1686
This commit is contained in:
bbedward
2026-02-15 13:36:19 -05:00
parent 13ef1efa7b
commit e5cdbf4cf5
6 changed files with 41 additions and 6 deletions

View File

@@ -427,6 +427,16 @@ Item {
checked: root.config.clearAtStartup ?? false
onToggled: checked => root.saveConfig("clearAtStartup", checked)
}
SettingsToggleRow {
tab: "clipboard"
tags: ["clipboard", "enter", "paste", "behavior"]
settingKey: "clipboardEnterToPaste"
text: I18n.tr("Enter to Paste")
description: I18n.tr("Press Enter to paste, Shift+Enter to copy", "Clipboard behavior setting description")
checked: SettingsData.clipboardEnterToPaste
onToggled: checked => SettingsData.set("clipboardEnterToPaste", checked)
}
}
SettingsCard {