A simple terminal key visualizer for keyd that displays your recent keypresses in real-time.
- Shows the last 4 keypresses
- Clean, minimal interface
- Option to Filter out temporary/modifier keys you don't want to see
- Layout remapping support (display keys in Colemak-DH instead of QWERTY)
keydinstalled and running
-
Save the script to a file (e.g.,
showkey.sh) -
Make it executable:
chmod +x showkey.sh
Basic usage:
./showkey.shIgnore specific keys (useful for filtering out temporary keys like f24):
./showkey.sh --ignore f24Ignore multiple keys:
./showkey.sh --ignore f24,leftcontrol,capslockDisplay keys in Colemak-DH layout:
./showkey.sh --layout colemak_dhCombine options:
./showkey.sh --layout colemak_dh --ignore f24Press Ctrl+C to exit.
When you type keys, they'll appear like this:
Recent keys:
h
e
l
l
Press any key... (Ctrl+C to exit)
MIT