Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typematic

typematic is a small, cross-platform CLI for tuning the keyboard auto-repeat delay and rate on Linux (GNOME), macOS, and Windows.

Install

go install github.com/akdlsz21/typematic/cmd/typematic@latest

Usage

# Apply new settings (delay in milliseconds, rate in characters per second)
typematic --delay-ms=250 --rate-cps=25

# Inspect the current effective settings
typematic --show

Exit codes: 0 success, 2 invalid input, 3 unsupported environment, 4 OS call failed.

Platform notes

  • Linux: requires a GNOME session on Wayland with gsettings and DBUS_SESSION_BUS_ADDRESS.
  • macOS: writes InitialKeyRepeat and KeyRepeat via defaults; changes apply per-app as they refresh.
  • Windows: updates FilterKeys through SystemParametersInfo, leaving other FilterKeys settings untouched.

Development

  • Build: go build -o typematic ./cmd/typematic
  • Test: go test ./...
  • Vet: go vet ./...

About

typematic is a small, cross-platform CLI for tuning the keyboard auto-repeat delay and rate on Linux (GNOME), macOS, and Windows.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages