%{date()}
%{exec(netstat -plant)}
%{file(file:///etc/motd)}
%{password(16, true, true, true, true)}
%{time()}
Note: doesn't appear that 'date()/time()' takes an argument (e.g. %{date(yesterday)}, just returns current, but as long as you have exec() you can do anything.
If you click a snippet, it inserts into the clipboard, then you can paste, You have to double-click to auto-paste.
You could leverage the klipper Actions to do something similar, though it would be a bit more "hackish".
Setup a regular _expression_ like @K -- If you type, then double click that, and have automatic enabled (or, alternatively, if you use <CTRL><ALTR><R> to invoke manual klipper actions popupmenu), you would have a popup menu with all your commands that could be things like:
Command=echo FLIMFLAM
Output Handling=Replace Clipboard
(organize as many commands that echo what you want under a single klipper action)
then you'd just have to paste. I don't see a way in klipper to auto-paste
I have a feature request for Klipper: snippets! I can't even begin to say how convenient having sticky entries that I can click on and then paste wherever I need it. If you need an example of how these work, look either at the Snippets plugin for glipper or the Snippet menu in ClipMenu (Mac).--Michael Fierro
--
303.497.2869 - sdowdy@xxxxxxxx - http://www.ral.ucar.edu/~sdowdy/