summaryrefslogtreecommitdiffstatshomepage
path: root/dot_local/bin/executable_dictate
diff options
context:
space:
mode:
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"
}