On 27.04.2013 16:50, Daniel wrote:
> On 2013-04-25, Uli Schlachter wrote:
>> P.S.: You don't need wmctrl to find a window by pid:
>>
>> function find_by_pid(pid)
>>for _, c in pairs(client.get()) do
>> if c.pid == pid then return c end
>>end
>> end
>
> Here I attempt to first spawn a
On 2013-04-25, Uli Schlachter wrote:
> P.S.: You don't need wmctrl to find a window by pid:
>
> function find_by_pid(pid)
>for _, c in pairs(client.get()) do
> if c.pid == pid then return c end
>end
> end
Here I attempt to first spawn and then catch the window by pid, but I
seem to l
The idea was to restart some programs after power cycling, not only
restart of awesome. So pid is out of the question.
Yes, I really would like to make a program open its window on the
desktop of my choice. But it seems impossible.
--
To unsubscribe, send mail to awesome-unsubscr...@naquadah.or
I think you can match with the pid. (
http://awesome.naquadah.org/doc/api/modules/client.html#client has a field
called pid)
The pid will remain the same if you run your program via a script with exec
So you can make a wrapper script that generates the rules using its pid,
feeds them to awesome-cl
On 2013-04-26, Andre Klärner wrote:
> just a small question: if you don't want to use static rules, why don't you
> "compile" the just before launching and feed them to awesome via
> awesome-client? That way they don't exist in the config and you have only
> to maintain within your launcher the ru
Hi Daniel,
On Fri, Apr 26, 2013 at 04:51:26PM +, Daniel wrote:
> Yeah I've begun to understand the strangely complicated nature of this.
> I just want to tell a program where it should open its window(s), and
> not have to find and move it afterwards. Ideally from the outside, upon
> launching
Yeah I've begun to understand the strangely complicated nature of this.
I just want to tell a program where it should open its window(s), and
not have to find and move it afterwards. Ideally from the outside, upon
launching, but it seems hard even from inside the program.
> The correct way to do t
Hi,
On 26.04.2013 13:35, Daniel wrote:
>> Yeah, that's what I meant (Oh, EWMH calls them desktops, not workspaces).
>> However, I haven't ever seen a single program which let's you specify this
>> property with a command line switch.
>
> I will have a go with _NET_WM_DESKTOP. At first try however
> Yeah, that's what I meant (Oh, EWMH calls them desktops, not workspaces).
> However, I haven't ever seen a single program which let's you specify this
> property with a command line switch.
I will have a go with _NET_WM_DESKTOP. At first try however, nothing
happens. Try:
xprop -f _NET_WM_DES
Hi,
On 25.04.2013 12:07, Daniel wrote:
>> So there are some programs that takes a common argument for setting
>> workspace? Perhaps like the classic geometry -g of X? But yeah, I cant
>> remember having seen that. Maybe it's rather a function on the X
>> protocol level or so?
>
> Commenting mysel
> So there are some programs that takes a common argument for setting
> workspace? Perhaps like the classic geometry -g of X? But yeah, I cant
> remember having seen that. Maybe it's rather a function on the X
> protocol level or so?
Commenting myself here; is it perhaps the _NET_WM_DESKTOP that c
On 2013-04-25, Uli Schlachter wrote:
> In theory, a new window which appears can tell awesome on which tag it wants
> to
> be visible. However, there is no universal way to tell programs what tag
> (well,
> "workspace") they should request.
So there are some programs that takes a common argum
Hi,
On 25.04.2013 09:16, Daniel wrote:
[...]
I would like to avoid starting a program and then finding its window (by
pid; i.e. wmctrl can do this) and moving it in place.
[...]
In theory, a new window which appears can tell awesome on which tag it wants to
be visible. However, there is no un
I want to launch a program and have it open its window on a specific
tag. The thing is that I don't want to set up any rules for the window
(for class, instance or so). This because I'm actually experimenting
with a little session handler that should re-open (certain) programs'
windows where they w
14 matches
Mail list logo