Skip to content

dj-foxxy/python-trio-hotkeys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

import trio
import hotkeys


async def main():
    await hotkeys.run([
        # Alt+a
        ('Mod1', 'a', lambda: print('A Press'), lambda: print('A Release')),
        # Alt+b
        ('Mod1', 'b', lambda: print('B Press'), lambda: print('B Release')),
    ])


trio.run(main)

About

Easy X11 hotkeys for Python and Trio.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages