Re: [dev] about surf-open.sh

From: Christoph Lohmann <20h_AT_r-36.net>
Date: Thu, 06 Jun 2013 19:24:09 +0200

Greetings.

On Thu, 06 Jun 2013 19:24:09 +0200 tknv <rreedd555_AT_gmail.com> wrote:
> Hello,
>
> I'm using surf(0.4)+tabbed with below;
> #!/bin/sh
> if [ ! "$(pidof tabbed)" ]
> then
> tabbed -d > /tmp/tabbed.xid
> fi
> surf -e `cat /tmp/tabbed.xid` $1 > /dev/null 2>&1 &
>
> Is this more suckless or any problem?

But this will make the commands of tabbed to start a new instance unus‐
able. That’s why the surf‐open.sh is running surf directly and uses the
xid file to identify if this instance of tabbed exists.


Sincerely,

Christoph Lohmann
Received on Thu Jun 06 2013 - 19:24:09 CEST

This archive was generated by hypermail 2.3.0 : Thu Jun 06 2013 - 19:36:06 CEST