Macarena
This commit is contained in:
parent
5e500da16b
commit
8d85bd63da
4 changed files with 7 additions and 71 deletions
|
@ -41,6 +41,7 @@ def record_callback(reply):
|
|||
if event.type in [X.KeyPress, X.KeyRelease]:
|
||||
keysym = local_dpy.keycode_to_keysym(event.detail, 0)
|
||||
|
||||
print(KEY)
|
||||
if keysym == KEY:
|
||||
mute(event.type == X.KeyRelease)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue