Skip to content

Shortcut program let you assign whatever keyboard keys combination to run whatever command you want.

License

Notifications You must be signed in to change notification settings

C2Deep/shortcut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

shortcut program is to manage the shortcuts (list, add, edit and remove).

shortcut-monitor program monitor the keyboard to detect the keys combination from 2 up to 8 keys at once (8 keys combination is the maximum on my machine but you can change it within both programs source code and recompile) and execute the associated task.

Enviroment: Linux

Compile and link:

    gcc -o shortcut shortcut.c
    gcc -o shortcut-monitor shortcut-monitor.c

Usage:

    sudo ./shortcut
    sudo ./shortcut-monitor

Important

Both programs (shortcut and shortcut-monitor) must run with sudo privileges to work.

Note

Although the shortcut-monitor program run with sudo privileges, it does run the task associated with the shortcut as normal user.

About

Shortcut program let you assign whatever keyboard keys combination to run whatever command you want.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages