aux-config/packages/numen-phrases/phrases/de-active/function.phrases
kB01 6ae73b4c14
Some checks are pending
/ Check Nix Flake (push) Waiting to run
reworked speech control
2025-09-12 12:20:21 +02:00

78 lines
1.8 KiB
Plaintext

# -----------------
# Modifier & Modes
# -----------------
# Modifier
stolz: mod shift
stabil: mod ctrl
anders: mod alt
scharf: mod super \
stick off
# Mode
radikal: caps on
#<complete>: caps off
sardine: run notify-send --expire-time=3000 --urgency=low --icon=🧩 "🧩 Sticky Mode" & \
stick off \
stick on
# Cancel
normal: mod clear \
caps off \
stick off
# Cancel sentence
@cancel nein:
# -----------------
# Desktop
# -----------------
# KDE Window
west: stick off \
press super+Left
ost: stick off \
press super+Right
nord: stick off \
press super+Up
süd: stick off \
press super+Down
groß: stick off \
press super+Prior
#???: stick off \
# press super+Next
zerstören: stick off \
press alt+f4
# KDE Taskbar
#scharf eins: press super+1
#scharf zwei: press super+2
#scharf drei: press super+3
# KDE Workspace
übersicht: stick off \
press super+w
# -----------------
# Switching
# -----------------
# Sleep https://lists.sr.ht/~geb/numen/%3C55fe1488feeb1cee2627d61b9b7e16a74ef5fca0.camel@dalibo.com%3E
dösen: run echo load /etc/numen/phrases/de-inactive/hibernate.phrases | /etc/numen/bin/numenc & notify-send --expire-time=3000 --urgency=low --icon=💤 "💤 Numen geht schlafen..."
# Language
sprache: set LANGUAGE_WORD echo 1
englisch: run [ "$LANGUAGE_WORD" ] && { sleep .3; NUMEN_MODEL=/usr/share/vosk-models/small-en-us /etc/numen/bin/numen /etc/numen/phrases/en-active/base.phrases /etc/numen/phrases/en-active/extend.phrases /etc/numen/phrases/en-active/function.phrases /etc/numen/phrases/en-active/transcribe.phrases; } & [ "$LANGUAGE_WORD" ] && pkill numen && notify-send --expire-time=3000 --urgency=low --icon=🌍 "🌍 Numen wechselt zu Englisch..." || :
# Reset Language Module Detection
<complete>: caps off \
set LANGUAGE_WORD :