% exec-on-click(1) | simple tool that executes command when a left mouse-click is detected

# NAME

exec-on-click - simple tool that executes command when a left mouse-click is detected

# SYNOPSIS

```
exec-on-click <command>
```

# DESCRIPTION

This is a simple tool which waits until a left-mouse click and then it
executes whatever parameters the script has been called with.

# EXAMPLE

```
echo -n "hello world" |  exec-on-click xdotool type --clearmodifiers '$(cat)'
```

Types `hello world` into the current window using xdotool.


# REPORTING BUGS

https://github.com/stef/pwdsphinx/issues/

# AUTHOR

Written by Stefan Marsiske.

# COPYRIGHT

Copyright © 2023 Stefan Marsiske.  License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.  There is NO WARRANTY, to the extent permitted by law.

# SEE ALSO

`sphinx(1)`
