add new snippet 'snippets/toast' (like android 'Toast')

This commit is contained in:
pls.153 2023-03-15 08:34:54 +01:00
parent 61831ba362
commit a58948b9d0
6 changed files with 99 additions and 20 deletions

7
snippets/toast/run.lisp Normal file
View file

@ -0,0 +1,7 @@
(in-package :qml-user)
(defun toast (message)
(qjs |message| "toast" message))
(qsingle-shot 1000 (lambda () (toast "You look tired, go get some coffee.")))