summaryrefslogtreecommitdiff
path: root/sentences
diff options
context:
space:
mode:
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