LukeSmithxyz / dwm

Luke's build of dwm
MIT License
809 stars 537 forks source link

dirty fix for fast fingers on volume buttons #235

Closed pony-montana closed 1 year ago

pony-montana commented 1 year ago

On my thinkpad if I press the volume buttons in rapid sequences it stucks on a certain value unless I press the opposite volume buttons. I dont know if you encountered this problem; if yes, this very dirty trick will hopefully do the job. Also, before adopt this solution it needs some testing because I use and tested it on a different dwm configuration without dwmblocks and with slightly different bindings.

A cleaner solution could consist in:

I dont know if these solution are viable, but I struggled searching for them and ended with this fix on my installation.

pony-montana commented 1 year ago

That was a mistake, was working on a dwl codebase that binds dedicated thinkpad volume buttons and didnt realize here the code refers to minus and equal buttons. I remember that when I used LARBS still I had problems with my thinkpad volume buttons; I dont find where they are bindend.