devilspie2-discuss
[Top][All Lists]
Advanced

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

Re: Can devilspie2 run a command once?


From: Frans de Jonge
Subject: Re: Can devilspie2 run a command once?
Date: Fri, 30 Jul 2021 08:53:17 +0200

Hi Daniel,

Did you try tracking if it's run before in a variable?

Something along these general lines:

if ran then return end
if  get_application_name() == "whatever" then
  minimize()
  ran = true
end

On Jul 29 2021, at 6:00 pm, devilspie2-discuss-request@nongnu.org wrote:
Send Devilspie2-discuss mailing list submissions to
devilspie2-discuss@nongnu.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.nongnu.org/mailman/listinfo/devilspie2-discuss
or, via email, send a message with subject or body 'help' to
devilspie2-discuss-request@nongnu.org

You can reach the person managing the list at
devilspie2-discuss-owner@nongnu.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Devilspie2-discuss digest..."


Today's Topics:

1. Can devilspie2 run a command once? (Daniel Santos)


----------------------------------------------------------------------

Message: 1
Date: Wed, 28 Jul 2021 22:47:45 +0100
From: Daniel Santos <hello@brighterdan.com>
To: devilspie2-discuss@nongnu.org
Subject: Can devilspie2 run a command once?
Message-ID: <e2c40808-309e-0550-de3e-08bc45aa1a7f@brighterdan.com>
Content-Type: text/plain; charset=utf-8; format=flowed

I am using devilspie and I find it impossible to run a window command
only once.
Can devilspie2 run a window command only once? (I am trying to minimize
a window on login, once!)



------------------------------

Subject: Digest Footer

_______________________________________________
Devilspie2-discuss mailing list
Devilspie2-discuss@nongnu.org
https://lists.nongnu.org/mailman/listinfo/devilspie2-discuss


------------------------------

End of Devilspie2-discuss Digest, Vol 23, Issue 1
*************************************************

reply via email to

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