add clipboard and share functions

This commit is contained in:
Evgeny
2021-08-05 20:53:33 +03:00
parent 15749b9600
commit ae731cc322
3 changed files with 13 additions and 1 deletions

9
clipboard-widget.lua Normal file
View File

@@ -0,0 +1,9 @@
-- name = "Clipboard"
-- description = "Shows current Clipboard contents"
-- type = "widget"
-- author = "Evgeny Zobnin (zobnin@gmail.com)"
-- version = "1.0"
function on_resume()
ui:show_text(system:get_from_clipboard())
end