Hi Manuel,

On Wed, May 08, 2013 at 07:44:27PM +0200, Manuel Kasser wrote:
> Hi,
> I want to start a process on a certain tag. I could do this combining
> awful.util.spawn() and a rule, but in this case I need to do it entirely
> without a rule.
> 
> The exact scenario is that I have a script which changes to a certain
> directory and starts a filemanager (pcmanfm) in there afterwards. This
> filemanager shall come up on a certain tag (getting the correct tag is
> no problem).
> 
> But just this filemanager spawned by this script shall be started on
> this one tag, other filemanager processes shall not be affected by this
> (that's why I can't work with a rule, because the way of spawning is the
> only differernce between certain instances).
> 
> Any good ideas how to archieve that? I can pipe most commands to awesome
> from a shellscript via "echo 'command' | awesome-client", if someone

there should be ways, but nothing works without rules.

But you should be able to figure out a rule that matches at exactly this
time for the process you spawn (like by PID or by class and window title)
and add this rule to the running awesome-instance via awesome-client. So
this rule would be temporary until awesome is restarted the next time.

If you check the archives of this mailing list you should find that
similiar discussions were held this and last month.

Regards, Andre

-- 
Andre Klärner

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to