Re: [i3] Dynamically create placeholder
There are lots of ways to get inert windows on the screen. Seems to me like xeyes is the best choice :) On Tue, Aug 19, 2014 at 3:39 PM, Michael Stapelberg wrote: > Hi Mateusz, > > Mateusz Poszwa writes: > > I think the „open” command is what you're looking for. > > I wonder why is it not documented… > It’s not documented because it’s not intended for end users. There are > most likely rendering glitches when using it. Its only use case is for > the test suite. > > Using terminal windows as placeholders is the recommended way. I don’t > think we should add something more tailored to your needs to > i3. Why do you not just bind loading a placeholder-layout to a key and > be done with it? > > -- > Best regards, > Michael >
Re: [i3] Dynamically create placeholder
Hi Mateusz, Mateusz Poszwa writes: > I think the „open” command is what you're looking for. > I wonder why is it not documented… It’s not documented because it’s not intended for end users. There are most likely rendering glitches when using it. Its only use case is for the test suite. Using terminal windows as placeholders is the recommended way. I don’t think we should add something more tailored to your needs to i3. Why do you not just bind loading a placeholder-layout to a key and be done with it? -- Best regards, Michael
Re: [i3] Dynamically create placeholder
How about a compton rule that set opacity of certain window, say a terminal instance, to 0? That would work and look pretty nice I think. On Tue, Aug 19, 2014 at 8:33 PM, Carlos Pita wrote: > Mateusz Poszwa writes: >> >> I think the „open” command is what you're looking for. >> I wonder why is it not documented… > > Thank you very much, Mateusz, I didn't know about it. > > Bigby James writes: >> >> Center the content in the reader window. If your PDF reader can't do that, >> install one of the many that can. If your concern is mouse mileage, learn to >> use >> hotkeys. > > I can figure out that by myself, the pdf reader was a simple example > that has become a straw man by now, and I can't see how this is related > to mouse vs. hotkeys, but thank you anyway, Bigby. > > Cheers, > Carlos.
Re: [i3] Dynamically create placeholder
Mateusz Poszwa writes: > > I think the „open” command is what you're looking for. > I wonder why is it not documented… Thank you very much, Mateusz, I didn't know about it. Bigby James writes: > > Center the content in the reader window. If your PDF reader can't do that, > install one of the many that can. If your concern is mouse mileage, learn to > use > hotkeys. I can figure out that by myself, the pdf reader was a simple example that has become a straw man by now, and I can't see how this is related to mouse vs. hotkeys, but thank you anyway, Bigby. Cheers, Carlos.
Re: [i3] Dynamically create placeholder
On 08/19, Carlos Pita wrote: > Hi guys, > > For example, I could want to create two placeholders in order to > horizontally center my pdf reader in a wide screen. It's pretty easy > to do that in i3 by opening two dummy terminals at each side of the > reader, without resorting to any predefined layout. Center the content in the reader window. If your PDF reader can't do that, install one of the many that can. If your concern is mouse mileage, learn to use hotkeys. -- "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams
Re: [i3] Dynamically create placeholder
On Tue, Aug 19, 2014 at 11:30:39AM -0300, Carlos Pita wrote: > Hi guys, > > >>> (that is, without saving, editing and restoring a layout) > > >> Save a layout, edit it to contain a single placeholder window, restore it? > > > This is the only thing I can think of. > > I expected that answer, that's why I made the previous clarification. > Still I expected it, because that was just a trifling fancy of mine > and the answer was so blatantly obvious that it needed to be stated > plain and clear, at least once. That said, to start a philosophical > discussion about the paradigms of different tilers is far for my will. > I was just pointing out that a number of possibilities that until now > were in the exclusive domain of more static manual tilers (including > emacs and vim) become possible in i3 because of its new ability to > manipulate placeholders as if they were just normal clients. I thought > that, perhaps, there was an undocumented trick to create placeholders > on the fly, kinda "exec nothing", which would be akin to splitting in, > say, ratpoison. It's clear that I can get the same "saving, editing > and restoring a layout" but I was emphasizing the dynamic side of the > idea. For example, I could want to create two placeholders in order to > horizontally center my pdf reader in a wide screen. It's pretty easy > to do that in i3 by opening two dummy terminals at each side of the > reader, without resorting to any predefined layout. Those dummy > terminals are just acting as placeholders. You see how whimsical I am. I think the „open” command is what you're looking for. I wonder why is it not documented… -- Mateusz Poszwa
Re: [i3] Dynamically create placeholder
Hi guys, >>> (that is, without saving, editing and restoring a layout) >> Save a layout, edit it to contain a single placeholder window, restore it? > This is the only thing I can think of. I expected that answer, that's why I made the previous clarification. Still I expected it, because that was just a trifling fancy of mine and the answer was so blatantly obvious that it needed to be stated plain and clear, at least once. That said, to start a philosophical discussion about the paradigms of different tilers is far for my will. I was just pointing out that a number of possibilities that until now were in the exclusive domain of more static manual tilers (including emacs and vim) become possible in i3 because of its new ability to manipulate placeholders as if they were just normal clients. I thought that, perhaps, there was an undocumented trick to create placeholders on the fly, kinda "exec nothing", which would be akin to splitting in, say, ratpoison. It's clear that I can get the same "saving, editing and restoring a layout" but I was emphasizing the dynamic side of the idea. For example, I could want to create two placeholders in order to horizontally center my pdf reader in a wide screen. It's pretty easy to do that in i3 by opening two dummy terminals at each side of the reader, without resorting to any predefined layout. Those dummy terminals are just acting as placeholders. You see how whimsical I am. Cheers -- Carlos
Re: [i3] Dynamically create placeholder
On 08/19, Michael Stapelberg wrote: > Hi Carlos, > > Carlos Pita writes: > > Some manual tilers like ratpoison and stumpwm have the ability to show > > empty leaves of the split tree, but i3 requires a window to be there, > > always. This isn't an "ability," but rather stems from the different manner in which other manual tilers handle windows compared to i3. i3 places windows in containers; the layout of each of those containers can be dynamically manipulated independent of other containers, containers can be moved and resized, windows can be moved into and out of those containers and multiple containers can be nested together. However, all containers on a workspace will always expand so that they fill the entire screen without overlapping. Other manual tilers don't use containers, but rather carve up the screen into distinct frames and then place single windows within those frames. Frames cannot be nested, nor (based on my experience with herbstluftwm and bspwm) can they be moved independently---windows can only be moved in and out. herbsluftwm is a bit of an exception, as it allows for multiple windows in a frame, but still limits the size and position of each frame and therefore the windows that can be placed in it. > Save a layout, edit it to contain a single placeholder window, restore it? This is the only thing I can think of. -- "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams
Re: [i3] Dynamically create placeholder
Hi Carlos, Carlos Pita writes: > Hi all, now that there is saving and restoring of layouts, is it possible > to "launch" a placeholder window? I mean, in order to build layouts with > empty areas in a natural way, as sometimes having an app maximized is not > what I want (say, a pdf reader in a very big screen). Some manual tilers > like ratpoison and stumpwm have the ability to show empty leaves of the > split tree, but i3 requires a window to be there, always. But now there are > placeholders which are almost nothing, so can I create these no-windows the > same way as other windows? (that is, without saving, editing and restoring > a layout). It would be an interesting possibility to manipulate empty space > as if it were a window (indeed, mostly implemented, except for the creation > part, I think). Save a layout, edit it to contain a single placeholder window, restore it? -- Best regards, Michael
[i3] Dynamically create placeholder
Hi all, now that there is saving and restoring of layouts, is it possible to "launch" a placeholder window? I mean, in order to build layouts with empty areas in a natural way, as sometimes having an app maximized is not what I want (say, a pdf reader in a very big screen). Some manual tilers like ratpoison and stumpwm have the ability to show empty leaves of the split tree, but i3 requires a window to be there, always. But now there are placeholders which are almost nothing, so can I create these no-windows the same way as other windows? (that is, without saving, editing and restoring a layout). It would be an interesting possibility to manipulate empty space as if it were a window (indeed, mostly implemented, except for the creation part, I think). Cheers -- Carlos