Skip to content

Instantly share code, notes, and snippets.

@FredrikAugust
Created February 5, 2017 18:09
Show Gist options
  • Save FredrikAugust/70c2df0b13a16632ad17534f5ae551ba to your computer and use it in GitHub Desktop.
Save FredrikAugust/70c2df0b13a16632ad17534f5ae551ba to your computer and use it in GitHub Desktop.
get key name - xev
#!/bin/bash
xev | grep -Po '\(keysym\s[^)]+,\s\K([^\)]+)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment