summaryrefslogtreecommitdiff
path: root/sentences
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-10-22 21:45:28 +0200
committerBotond Hende <nettingman@gmail.com>2024-10-22 21:45:28 +0200
commit6f3acbf0bec6bf012c5f52aee2f18059918104d9 (patch)
tree1d67188e675654cafe452f6c97f371693c112034 /sentences
parent58d23f1f010e5d58b8d9296dae27988c939a53b1 (diff)
Diffstat (limited to 'sentences')
-rw-r--r--sentences/_common.yaml3
-rw-r--r--sentences/sway_HesLock.yaml8
2 files changed, 10 insertions, 1 deletions
diff --git a/sentences/_common.yaml b/sentences/_common.yaml
index 7c22012..1d5422d 100644
--- a/sentences/_common.yaml
+++ b/sentences/_common.yaml
@@ -50,8 +50,9 @@ lists:
out: 10
expansion_rules:
+ the_my: "[(the|my) ]"
workspace: "(workspace {workspace}|{workspace_word:workspace} workspace)"
- in_workspace: "(in|on|at) [the ]<workspace>"
+ in_workspace: "(in|on|at) <the_my><workspace>"
skip_words:
- "please"
diff --git a/sentences/sway_HesLock.yaml b/sentences/sway_HesLock.yaml
new file mode 100644
index 0000000..a246f83
--- /dev/null
+++ b/sentences/sway_HesLock.yaml
@@ -0,0 +1,8 @@
+language: "en"
+intents:
+ HesLock:
+ data:
+ - sentences:
+ - "lock[ <the_my>(screen|computer)]"
+ slots:
+ domain: "sway" \ No newline at end of file