From 2d1a369ece3157c14bb73b6ac0b820f158b15058 Mon Sep 17 00:00:00 2001 From: Amolith Date: Fri, 9 Jan 2026 20:26:23 -0700 Subject: [PATCH] feat(voxtype,garble,polybar): add voxtype and garble Add voxtype configuration for text-to-speech integration with polybar and standalone usage. Configure garble for Go code obfuscation. Update polybar to include voxtype status indicator and control scripts. New configuration files: - dot_config/voxtype/config.toml - dot_config/garble/config.toml - dot_config/polybar/executable_voxtype-polybar.sh Modified: - dot_config/polybar/config.ini.tmpl (add voxtype module) Assisted-by: Kimi K2 Thinking via Crush --- dot_config/garble/config.toml | 21 +++++++ dot_config/polybar/config.ini.tmpl | 14 ++++- .../polybar/executable_voxtype-polybar.sh | 56 +++++++++++++++++++ dot_config/voxtype/config.toml | 32 +++++++++++ 4 files changed, 122 insertions(+), 1 deletion(-) create mode 100644 dot_config/garble/config.toml create mode 100644 dot_config/polybar/executable_voxtype-polybar.sh create mode 100644 dot_config/voxtype/config.toml diff --git a/dot_config/garble/config.toml b/dot_config/garble/config.toml new file mode 100644 index 0000000000000000000000000000000000000000..3d522cbc9461f6591a5da2a1d5953457d148edc7 --- /dev/null +++ b/dot_config/garble/config.toml @@ -0,0 +1,21 @@ +provider = "synthetic" +model = "hf:deepseek-ai/DeepSeek-V3.2" +directions = """ +Correct the following Whisper transcription to match how I would actually type, after edits and corrections. + +- Follow inline dictation instructions, example follows in the section below +- Remove filler words like "um", "uh", "like", "you know", "so" (when meaningless) +- Correct words from the transcription engine when the context makes obvious what the word should be, example follows in the section below +- Remove false starts and repeated words +- Preserve my intended meaning without rephrasing or "improving" my words +- No markdown, no formatting, just clean plain text + + + +This is. An example of speaks, an audio compression codec. Specifically tuned for reproducing. Specifically tuned for the reproduction of the human voice. No, human speech. + + +This is an example of SPEEX, an audio compression codec specifically tuned for the reproduction of human speech. + + +""" diff --git a/dot_config/polybar/config.ini.tmpl b/dot_config/polybar/config.ini.tmpl index 9cf22881c90d732767bdaa9706e9ba9999868225..1299bb89ea8b2171dd6f9de98ff9585ed87d5fe1 100644 --- a/dot_config/polybar/config.ini.tmpl +++ b/dot_config/polybar/config.ini.tmpl @@ -30,7 +30,7 @@ font-1 = "JetBrainsMono NF:style=Regular:size=12;2" modules-left = i3 modules-center = xwindow {{- if ne .chezmoi.hostname "glade" }} -modules-right = updates caffeine notifications mic pulseaudio cpu memory date time {{ if eq .chezmoi.hostname "sidhe" }}battery{{ end }} +modules-right = updates voxtype caffeine notifications mic pulseaudio cpu memory date time {{ if eq .chezmoi.hostname "sidhe" }}battery{{ end }} {{- else }} modules-right = wlan pulseaudio cpu memory date battery {{- end }} @@ -228,6 +228,18 @@ format-prefix = "󱄋 " margin-top = 5 margin-bottom = 5 +[module/voxtype] +type = custom/script +exec = ~/.config/polybar/voxtype-polybar.sh +click-left = ~/.config/polybar/voxtype-polybar.sh toggle +interval = 1 +format =