diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-08-05 23:18:23 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-08-05 23:18:23 +0800 |
| commit | 6374042615c5149f84ed84e1955bbb53e25699b2 (patch) | |
| tree | 203217e17d42e36d9f244cb5d40f0d4be900a57c | |
| parent | 181ef47435bb12180b4d999320dd47a235ba25d3 (diff) | |
DuckDuckGo: impl exec
| -rw-r--r-- | popups/launcher/components/DuckDuckGo.qml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/popups/launcher/components/DuckDuckGo.qml b/popups/launcher/components/DuckDuckGo.qml index 1f3248c..02aa4cb 100644 --- a/popups/launcher/components/DuckDuckGo.qml +++ b/popups/launcher/components/DuckDuckGo.qml @@ -43,8 +43,11 @@ IComponent { }; } exec: function () { - // TODO - // Clip.copy(answer); + // FIXME: doesn't work as enter closes the launcher + if (!expand) + expand = true; + else + Clip.copy(`{DuckDuckGo.title}\n{DuckDuckGo.description_html}`); } IInnerComponent { |
