I reckon its better to use pure bash script together with a hotkey on which that script is bound. Its better than to learn another language.