Re: sawfish script file



On Thu, Sep 21, 2006 at 07:44:32PM +0200, Stefano Sabatini wrote:
> There is some way to define a sawfish script of the form:
> #! /usr/bin/sawfish-client --something
> (require 'myself.coolthings)
> (do-something)

sawfish-client can read its input from stdin.  Therefore
you can always write your script in such way

#! /bin/sh

sawfish-client - <<"EOI"
(require 'myself.coolthings)
(do-something)
EOI

or something similar.  Type 'sawfish-client --help' to
see options.

    Michal



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]