sxhkdrc.example 560 B

123456789101112131415161718192021222324
  1. # Assistant hotkeys (sxhkd)
  2. #
  3. # Requires a running `stt-assistant` (which needs `stt-daemon` for transcriptions).
  4. # Append to ~/.config/sxhkd/sxhkdrc and reload sxhkd.
  5. # Arm command mode: the next complete turn becomes a command.
  6. super + c
  7. stt-ctl command-start
  8. # Execute the armed command (review the text in `stt-tui` first).
  9. super + Return
  10. stt-ctl command-execute
  11. # Cancel the armed command.
  12. super + Escape
  13. stt-ctl command-cancel
  14. # Toggle chat mode.
  15. super + t
  16. stt-ctl chat-toggle
  17. # Open the assistant TUI.
  18. super + shift + a
  19. stt-tui