A linux newbie here! I own a netbook which doesn't have any indicator leds. So I decided to write a small shell script that would notify me when the capslock key is pressed. The script goes something like this:

Now I want to bind the script to the capslock key so that it gets executed everytime I press the key. But the keyboard shortcuts setting expects a key combination. Is it possible to bind it to just the capslock key??