aux-config/packages/numen-phrases/phrases/en-active/function.phrases

75 lines
1.8 KiB
Text

# -----------------
# Modifier & Modes
# -----------------
# Modifier
shy: mod shift
troy: mod ctrl
hype: mod alt
shock: mod super \
stick off
# Mode
shout: caps on
#<complete>: caps off
squeeze: run notify-send --expire-time=3000 --urgency=low --icon=🧩 "🧩 Sticky Mode" & \
stick off \
stick on
# Cancel
cleanse: mod clear \
caps off \
stick off
# Cancel sentence
@cancel no:
# -----------------
# Desktop
# -----------------
# KDE Window
west: stick off \
press super+Left
east: stick off \
press super+Right
north: stick off \
press super+Up
south: stick off \
press super+Down
screen: stick off \
press super+Prior
#???: stick off \
# press super+Next
exterminate: stick off \
press alt+f4
# KDE Taskbar
#shock one: press super+1
#shock two: press super+2
#shock three: press super+3
# KDE Workspace
view: stick off \
press super+w
#troy frank one: press ctrl+f1
#troy frank two: press ctrl+f2
#troy frank three: press ctrl+f3
# -----------------
# Switching
# -----------------
# Sleep https://lists.sr.ht/~geb/numen/%3C55fe1488feeb1cee2627d61b9b7e16a74ef5fca0.camel@dalibo.com%3E
hibernate: run echo load /etc/numen/phrases/en-inactive/hibernate.phrases | /etc/numen/bin/numenc & notify-send --expire-time=3000 --urgency=low --icon=💤 "💤 Numen goes to sleep..."
# Language
language: set LANGUAGE_WORD echo 1
german: run [ "LANGUAGE_WORD" ] && { sleep .3; NUMEN_MODEL=/usr/share/vosk-models/small-de /etc/numen/bin/numen /etc/numen/phrases/de-active/base.phrases /etc/numen/phrases/de-active/extend.phrases /etc/numen/phrases/de-active/function.phrases /etc/numen/phrases/de-active/transcribe.phrases; } & pkill numen & notify-send --expire-time=3000 --urgency=low --icon=🌍 "🌍 Numen switches to German..."
# Reset Language Module Detection
<complete>: caps off \
set LANGUAGE_WORD