summaryrefslogtreecommitdiffstatshomepage
path: root/dot_local/bin/executable_dictate
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld@sommerfeld.dev>2026-09-17 15:05:36 +0100
committersommerfeld <sommerfeld@sommerfeld.dev>2026-09-17 15:05:36 +0100
commitaff435a0fb3a56b1d7b738c7dede363440884b3a (patch)
tree07acb41d37760aa169ee42dbeb69da3621cc7489 /dot_local/bin/executable_dictate
parenta7f74c1fa4b89c5829f5896842eb7248c820704c (diff)
downloaddotfiles-aff435a0fb3a56b1d7b738c7dede363440884b3a.tar.gz
dotfiles-aff435a0fb3a56b1d7b738c7dede363440884b3a.tar.bz2
dotfiles-aff435a0fb3a56b1d7b738c7dede363440884b3a.zip
Add the Canonical laptop profile and setup workflows
Diffstat (limited to 'dot_local/bin/executable_dictate')
-rw-r--r--dot_local/bin/executable_dictate4
1 files changed, 3 insertions, 1 deletions
diff --git a/dot_local/bin/executable_dictate b/dot_local/bin/executable_dictate
index 7ad80bb..3cd763e 100644
--- a/dot_local/bin/executable_dictate
+++ b/dot_local/bin/executable_dictate
@@ -77,7 +77,9 @@ stop_and_transcribe() {
fi
printf '%s' "$text" | wl-copy
- wtype -- "$text"
+ if [ "$(cat "$HOME/.config/dotfiles/role" 2>/dev/null)" != canonical ]; then
+ wtype -- "$text"
+ fi
notify-send -t 2500 "🎙️ Dictated" "$text"
}