baskerville / sxhkd

Simple X hotkey daemon
BSD 2-Clause "Simplified" License
2.76k stars 139 forks source link

Passing mediakeys through slock to sxhkd #172

Open dmsalomon opened 4 years ago

dmsalomon commented 4 years ago

I want to be able to pass though Mediakeys (and potentially over keys as well), from the lock screen of slock to sxhkd. The patch available on suckless.org uses the following line, which does not work with sxhkd

XSendEvent(dpy, DefaultRootWindow(dpy), True, KeyPressMask, &ev);

There should be an easy way to send a key event directly to sxhkd using Xlib.

JoseFilipeFerreira commented 2 years ago

Did you ever figure this out?

dmsalomon commented 2 years ago

@JoseFilipeFerreira No, and I'm no longer using sxhkd, bspwm or slock. I suppose this issue can be considered closed from that point of view.