Replies: 12 comments 15 replies
-
|
Hm, I guess there could be a window rule matcher about the column being maximized, but I'm not sure this behavior in general is necessarily good. You could instead try fullscreening? |
Beta Was this translation helpful? Give feedback.
-
|
How hard is it to add extra window rules? |
Beta Was this translation helpful? Give feedback.
-
|
i am switching to niri from hyprland, and i really miss no_gaps_when_only analog in niri |
Beta Was this translation helpful? Give feedback.
-
|
Same here, basically any of these options would work for me:
Could be window rules, if there was a match for either of the first two options. However, I imagine that matching by a workspace property (e.g. "only one window", or even "workspace name") could be problematic, as you can immediately set those properties in the same rule. Right now I'm using this as a crutch: But with the severe limitation that it never shows a border for this specific app. If I open another firefox window for example, it should then show borders (unless I also open it in an empty workspace). Especially e.g. terminals can't work with this. |
Beta Was this translation helpful? Give feedback.
-
|
This doesn't seem to be a valid option though. window-rule {
match app-id="librewolf"
open-maximized true
gaps {
off
}
} |
Beta Was this translation helpful? Give feedback.
-
|
I know this doesn't help anyone who isn't familiar with rust but there is a niri_ipc crate which could be used to watch for this event. This would work for any other complex event comparisons that are not possible currently. |
Beta Was this translation helpful? Give feedback.
-
|
@Notliam99 while that could be used to detect "single window on a workspace event", I don't see any way to toggle border/ring-focus with niri_ipc (nor |
Beta Was this translation helpful? Give feedback.
-
|
I don't have much input here but, but no gaps or window borders on a centered, maximized window, would probably make niri a perfect compositor for me. I would like no outer gaps with only one window, gaps seem to be global, the way hyprland does it sets the gaps for the workspace to be 0 if there's only one window on the workspace. Perhaps maybe being able to set layout options for named workspaces could be good? If that's easy I think a workaround for a bit would be having a dedicated "maximized" workspace by turning off gaps and borders in it and putting whichever applications you need there? Kinda bad but could be easier to implement |
Beta Was this translation helpful? Give feedback.
-
|
Is smart borders/gaps implemented, or is there a workaround? I use gaps and borders on my primary display but only ever have one window opened on my secondary displays and the gaps/borders are an eyesore. I used niri months ago but stopped soley because of this :( |
Beta Was this translation helpful? Give feedback.
-
|
I'm implementing proper Wayland maximize here that removes gaps, borders and struts: #2376 |
Beta Was this translation helpful? Give feedback.
-
|
My solution for this problem is that, after #2376 . I've rebound Mod+F to |
Beta Was this translation helpful? Give feedback.
-
|
I was trying to remove the border around mpv, but not working... window-rule { Do we have a rule for niri to remove the borders? THANKS |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like the focus-ring and border to go away when there is only one window visible on screen (no matter the matter the reason: maximized, the only window at all etc.).
Beta Was this translation helpful? Give feedback.
All reactions