ratpoison-devel
[Top][All Lists]
Advanced

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

Re: [RP] Answer to "** The Gimp is impossible to use under ratpoison!"


From: twb
Subject: Re: [RP] Answer to "** The Gimp is impossible to use under ratpoison!"
Date: Tue Oct 7 21:43:02 2003

On Mon, 22 Sep 2003 05:46:29 -0700 XenoTrout <address@hidden> wrote:
> #!/bin/more
> # ratpoison script to set up the gimp
> # to use:
> #  1. launch the gimp
> #  2. source this file with ratpoison: `ratpoison -c source <filename>` or
> C-t C-colon 'source <filename>'
> 
> # create frames
> select -
> -*-snip-*-

Does ratpoison currently have a way to get commands from stdin?  Because then 
you could just do

  #!/usr/bin/ratpoison --stdin
  <ratpoison commands>

instead of 

  DATE=`date -Iseconds`
  cat <<EOF > /tmp/script_$DATE
  <rp commands>
  EOF
  ratpoison -c "source /tmp/script_$DATE"
  rm -f /tmp/script_$DATE

-trent



reply via email to

[Prev in Thread] Current Thread [Next in Thread]