diff options
Diffstat (limited to '.local/bin/desktop/detect-keys')
-rwxr-xr-x | .local/bin/desktop/detect-keys | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.local/bin/desktop/detect-keys b/.local/bin/desktop/detect-keys new file mode 100755 index 0000000..da00dad --- /dev/null +++ b/.local/bin/desktop/detect-keys @@ -0,0 +1,3 @@ +#!/bin/sh + +xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "%-3s %s\n", $5, $8 }' |