You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like to keep a consistent layout in my workspace, maintaining a specific horizontal order for my applications. For example: [Other Windows...] - [Slack] - [Terminal] - [Browser] - [Other Windows...]. This way, I build the muscle memory that moving right from the Terminal always takes me to the Browser. It easy to maximize and see only terminal or change it and see terminal and browser.
When my windows get out of order over time or after a system restart, I would love to have an action or automation that restores them to their proper, predefined places.
I'm not completely familiar with the Niri API, so I'm not sure if this is possible to do in pure Niri. I think the ideal solution would be to define rules so that the layout is restored automatically. If that's not feasible, being able to achieve this via custom scripts would be perfectly fine too.
The main issue I'm running into is that after reading the entire API for OmniWM, I don't see a way to move a window to a specific preferred spot. I only see operations for shifting a window left and right relative to its current spot, but nothing for placing a window at an exact index or absolute position. Is this something that could be added?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I like to keep a consistent layout in my workspace, maintaining a specific horizontal order for my applications. For example: [Other Windows...] - [Slack] - [Terminal] - [Browser] - [Other Windows...]. This way, I build the muscle memory that moving right from the Terminal always takes me to the Browser. It easy to maximize and see only terminal or change it and see terminal and browser.
When my windows get out of order over time or after a system restart, I would love to have an action or automation that restores them to their proper, predefined places.
I'm not completely familiar with the Niri API, so I'm not sure if this is possible to do in pure Niri. I think the ideal solution would be to define rules so that the layout is restored automatically. If that's not feasible, being able to achieve this via custom scripts would be perfectly fine too.
The main issue I'm running into is that after reading the entire API for OmniWM, I don't see a way to move a window to a specific preferred spot. I only see operations for shifting a window left and right relative to its current spot, but nothing for placing a window at an exact index or absolute position. Is this something that could be added?
Beta Was this translation helpful? Give feedback.
All reactions