Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

History or logging to find most used key presses #287

Open
exic opened this issue Oct 6, 2022 · 1 comment
Open

History or logging to find most used key presses #287

exic opened this issue Oct 6, 2022 · 1 comment

Comments

@exic
Copy link

exic commented Oct 6, 2022

Thanks for your great work! I have a feature request:

I'd like to record which key combinations I press how often

  • to find out which combinations might be worth to put on more accessible keys
  • to find which I don't use at all, so I can remove them

Do you think that would add some value? I tried fiddling with the code and got something running a while ago but that was a rather ugly and incomplete solution, I guess someone with more insight to the code could make this an actual feature 🙂

@Operdies
Copy link

There's the -s option to log events to a FIFO. You can easily make a script to parse out all hotkeys . Here's an example of logging all sxhkd events using the FIFO: https://github.com/baskerville/sxhkd/blob/master/examples/notification/sxhkd_notify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants