Timeline for How can I programmatically get this layout in tmux?
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 22, 2019 at 17:50 | history | edited | Kamil Maciorowski | CC BY-SA 4.0 |
added 800 characters in body
|
| Nov 22, 2019 at 17:28 | vote | accept | Livid | ||
| Nov 22, 2019 at 17:27 | comment | added | Livid | I've got version 2.6.. the new code works perfectly. Thanks. | |
| Nov 22, 2019 at 17:22 | history | edited | Kamil Maciorowski | CC BY-SA 4.0 |
added 75 characters in body
|
| Nov 22, 2019 at 17:22 | comment | added | Kamil Maciorowski |
@Livid What is your version of tmux? It looks like there were some changes, window-size option was introduced. My tmux behaves differently. Check the updated code in my answer and tell me if it helps. Note if the session already exists, its size is determined and new-session -d -x … -y … will have no impact.
|
|
| Nov 22, 2019 at 16:50 | comment | added | Livid | I'm not sure if it is relevant but I have more than one monitor of different resolutions. I want the tmux window to be on a 1280x1024 one. | |
| Nov 22, 2019 at 16:48 | comment | added | Kamil Maciorowski |
@Livid It has something to do with the size of the initial widow in tmux. In your case it gets resized later. Looks like my tmux doesn't(?) follow the documentation. Working on it.
|
|
| Nov 22, 2019 at 16:37 | comment | added | Livid | Thanks, the relative sizes are still incorrect for me though. See the updated question. | |
| Nov 22, 2019 at 10:04 | history | edited | Kamil Maciorowski | CC BY-SA 4.0 |
added 40 characters in body
|
| Nov 22, 2019 at 9:52 | history | answered | Kamil Maciorowski | CC BY-SA 4.0 |