diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index 10da9b9..c8fb8ee 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -135,7 +135,7 @@ bind = , I, exec, hyprctl dispatch submap reset; ctl idle bind = , K, exec, hyprctl dispatch submap reset; ctl keyboard next bind = , M, exec, hyprctl dispatch submap reset; ctl media bind = , P, exec, hyprctl dispatch submap reset; ctl power -bind = , S, exec, hyprctl dispatch submap reset; ctl dictate +bind = , D, exec, hyprctl dispatch submap reset; ctl dictate bind = , T, exec, hyprctl dispatch submap reset; theme bind = , catchall, submap, reset diff --git a/home/modules/dictation.nix b/home/modules/dictation.nix index a71bed4..92c5914 100644 --- a/home/modules/dictation.nix +++ b/home/modules/dictation.nix @@ -9,7 +9,7 @@ let whisper = pkgs.whisper-cpp.override { cudaSupport = hostConfig.gpu == "nvidia"; }; modelDir = "${config.home.homeDirectory}/.local/share/whisper-models"; - model = "ggml-medium.bin"; + model = "ggml-large-v3-turbo.bin"; modelUrl = "https://huggingface.co/ggerganov/whisper.cpp/resolve/main/${model}"; in { diff --git a/scripts/ctl b/scripts/ctl index 58f96ec..b4a3088 100755 --- a/scripts/ctl +++ b/scripts/ctl @@ -539,7 +539,7 @@ dictate) mkdir -p "$dtmp" dpid="$dtmp/rec_pid" daudio="$dtmp/recording.wav" - dmodel="${DICTATE_MODEL:-medium}" + dmodel="${DICTATE_MODEL:-large-v3-turbo}" dmodel_dir="${XDG_DATA_HOME:-$HOME/.local/share}/whisper-models" dmodel_file="$dmodel_dir/ggml-$dmodel.bin"