EXEC-ON-CLICK(1)

πŸ“¦
version 2.0.4 Β· 3 versions
, in nixos 26.05, nixpkgs unstable, ubuntu stonking

πŸ’– EXEC-ON-CLICK(1) πŸ’–

okay bestie, so this is exec-on-click from section 1 of the manual (the header up top literally just reads ex...k(1) because the terminal truncates it like that, don't worry about it 🫢). it's a whole little vibe and i need you to be seated for this one ✨


🌸 NAME 🌸

exec-on-click β€” a simple tool that executes a command when a left mouse-click is detected πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

exec-on-click <command>

✨ DESCRIPTION ✨

so like... exec-on-click is a simple tool. that's the whole thing. it sits there, patiently, waiting for a left mouse click πŸ‘† and the second that click lands, it executes whatever parameters the script was called with. that's it. that's the girl. no cap 🌈

it's giving "tiny tool, enormous main character energy" and honestly? obsessed.


πŸ“ EXAMPLE πŸ“

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

what this does: it types hello world straight into the current window, using xdotool β€” which is a program that lets you simulate keyboard input and mouse activity πŸŽ€ so basically you click, and boom, the text appears. iconic behaviour fr fr πŸ’œ


😭 REPORTING BUGS 😭

found a bug? bestie, please tell them, don't just suffer in silence:

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


πŸ‘‘ AUTHOR πŸ‘‘

Written by Stefan Marsiske. (ty for your service king πŸ«‘πŸ’–)


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. ⚠️ like, literally none, so don't come crying to anybody if it goes sideways, iykyk πŸ’€


🌈 SEE ALSO 🌈


aaaand that's the whole page bestie πŸ’« that final ex...k(1) you see printed at the bottom is the footer β€” it's this very same page, just with the title all squished, and it's dated with the package's own version and date stamp underneath. go click something. slay πŸŽ€βœ¨πŸ’…

πŸ“¦ where this page comes from