Is there a way to use (set?) the content of clipboard in lua config?
Examples:
1.
I want to start web browser and point it to url from clipboard. I
use the following code:
spawn_with_shell("uzbl $(xclip -o)")
is there a simpler way?
2.
I would like to execute an arbitrary lua code from clipboard,
something like:
awful.util.eval(past_code_from_clipboard_here)
Is there a simpler solution than:
spawn_with_shell("xclip -o | awesome-client -")
which seems to be overkill ;)
--
Paweł Zuzelski xmpp/e-mail: [email protected]
PLD Linux developer http://pld-linux.org
--
To unsubscribe, send mail to [email protected].