exec-on-click1
Simple tool that executes command when a left mouse-click is detected
Usage
-
exec-on-click <command>
Overview
This is a simple tool which waits until a left-mouse click and then it executes whatever parameters the script has been called with.
Examples
-
echo -n "hello world" | exec-on-click xdotool type --clearmodifiers '$(cat)'
Types hello world into the current window using xdotool.