Annwan
9565bcfcb5
|
5 months ago | |
---|---|---|
src | 5 months ago | |
.gitignore | 5 months ago | |
Build.moon | 5 months ago | |
README.org | 5 months ago |
README.org
xel
A (hopefully) better X Event Logger
What?
For logging X events, the X.org projects provides the xev
utility. While it
works, its CLI parsing is jank and its output is inconsistent. This utility aims
to provide a saner interface and a more consistant output (in the form of a TOML
object list).
How to build
To use
Usage: ./xel -h ./xel [-e <ev>|-n <ev>]* [-a <id>] Options: -h Prints this message -e ev Enable logging event category ev, can be repeated -n ev Disable logging event category ev, can be repeated If the first event specifier is -e the default is no event, otherwise the default is all events -a id Attach to window <id>, doesn't allow to specify events Available event categories (for -e and -n): keyboard, mouse, button, expose, visibility, structure, substructure, focus, property, color_map, owner_grab_button
LICENSE
Copyright © 2024 Annwan
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
NOTE: Code heavily inspired by the xev
utility by the X.org project (available under the X.Org at the FreeDesktop Gitlab)