2009/6/4 Paweł Zuzelski <[email protected]>:
> Is there a way to use (set?) the content of clipboard in lua config?

There's a C api function selection() which returns current clipboard content.
It doesnt support setting (unfortunately) and my feature req is still there:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=387

>  spawn_with_shell("uzbl $(xclip -o)")
>  is there a simpler way?

spawn_with_shell("uzbl " .. selection())

>  awful.util.eval(past_code_from_clipboard_here)
>  spawn_with_shell("xclip -o | awesome-client -")

awful.util.eval(selection())

koniu

--
To unsubscribe, send mail to [email protected].

Reply via email to