diff --git a/desktop/config/hypr/sjb/bindings.lua b/desktop/config/hypr/sjb/bindings.lua index a9296f5..8274f74 100644 --- a/desktop/config/hypr/sjb/bindings.lua +++ b/desktop/config/hypr/sjb/bindings.lua @@ -27,8 +27,10 @@ hl.bind("SUPER + CONTROL + A", hl.dsp.exec_cmd("terminal-launcher capture \"nvim hl.bind("SUPER + SHIFT + I", sysinfo, { description = "Show system info" }) -hl.bind("SUPER + SHIFT + Q", hl.dsp.exec_raw("ostt launch --paste"), { description = "Open ostt" }) -hl.bind("F9", hl.dsp.exec_raw("ostt launch --paste"), { description = "Open ostt" }) +-- hl.bind("SUPER + SHIFT + Q", hl.dsp.exec_raw("ostt launch --paste"), { description = "Open ostt" }) +-- hl.bind("F9", hl.dsp.exec_raw("ostt launch --paste"), { description = "Open ostt" }) +hl.bind("F9", hl.dsp.exec_raw("voxtype record toggle"), { description = "Toggle Voxtype dictation" }) +hl.bind("SUPER + SHIFT + Q", hl.dsp.exec_raw("voxtype record toggle"), { description = "Toggle Voxtype dictation" }) hl.bind("SUPER + Y", toggle_master_scrolling, { description = "Layout: Toggle master/scrolling" }) diff --git a/desktop/config/voxtype/config.toml b/desktop/config/voxtype/config.toml new file mode 100644 index 0000000..084fc3a --- /dev/null +++ b/desktop/config/voxtype/config.toml @@ -0,0 +1,75 @@ +engine = "whisper" +[hotkey] +enable = false +key = "HOME" +mode = "push_to_talk" +enabled = true + +[output] +mode = "type" +fallback_to_clipboard = true +auto_submit = false +shift_enter_newlines = false +pre_type_delay_ms = 0 + +[output.notification] +on_recording_start = false +on_recording_stop = false +on_transcription = true +show_engine_icon = false + +[osd] +enabled = true +frontend = "native" +style = "aegis-hud" +layout = "tile" +position = "top-center" +width_px = 400 +height_px = 48 +margin_px = 24 +top_margin = 0.85 +opacity = 0.95 +waveform_window_secs = 3.0 +peak_decay_db_per_sec = 6.0 +waveform_gain = 10.0 + +[audio] +device = "default" +max_duration_secs = 120 +pause_media = false +duck_media = false +duck_media_volume_percent = 34 +duck_media_fade_ms = 150 + +[audio.feedback] +enabled = false +theme = "default" +volume = 0.699999988079071 + +[whisper] +model = "base.en" +mode = "local" +language = "auto" +translate = false +flash_attention = false +on_demand_loading = false +gpu_isolation = false + +[text] +spoken_punctuation = false +smart_auto_submit = false + +[vad] +enabled = true +backend = "auto" +threshold = 0.5 + +[meeting] +enabled = false + +[meeting.diarization] +enabled = false + +[meeting.audio] +source = "mic" + diff --git a/desktop/mise.toml b/desktop/mise.toml index 7690934..8b91b75 100644 --- a/desktop/mise.toml +++ b/desktop/mise.toml @@ -47,6 +47,7 @@ "~/.local/bin/strata" = { source = "bin/strata", mode = "symlink" } "~/.config/strata/settings.toml" = { source = "config/strata/settings.toml", mode = "symlink" } +"~/.config/voxtype/config.toml" = { source = "config/voxtype/config.toml", mode = "symlink" } [tasks.desktop] description = "setup gui" @@ -76,6 +77,13 @@ run = [ 'fc-cache', ] +[tasks.voxtype] +description = "setup voxtype" +run = [ + 'voxtype setup model', + 'voxtype setup systemd', +] + [tasks.webapps] description = 'create all web application' run = [