Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fullscreen for new windows #2122

Closed
Rolv-Apneseth opened this issue Apr 21, 2023 · 8 comments
Closed

Fullscreen for new windows #2122

Rolv-Apneseth opened this issue Apr 21, 2023 · 8 comments
Labels
enhancement New feature or request

Comments

@Rolv-Apneseth
Copy link

Hi, just wondering if this is possible already (I couldn't find it in the docs or issues here) or perhaps it could just be scripted somehow, but basically with fullscreen mode on and inherit_fullscreen = true, I would like a newly opened window to not break me out of fullscreen mode, as I would like to use it as a monocle layout.

Apologies if this is already outlined somewhere and I missed it.

@Rolv-Apneseth Rolv-Apneseth added the enhancement New feature or request label Apr 21, 2023
@bradrn
Copy link

bradrn commented Jun 28, 2023

I’d really like this too. I’ve come to Hyprland from XMonad, which allows me to switch a workspace between a master layout and a fullscreen/monocle layout, and I find myself missing that feature a lot in Hyprland. It’s really useful for e.g. switching to fullscreen mode for editing a document, then switching back to compare it to another window.

@charbelnicolas
Copy link

I'm trying to migrate from awesome wm to hyprland and I'm really missing a fullscreen/monocle layout. I hope something of the like gets implemented sooner rather than later :)

@clotodex
Copy link

I hope I got right what you mean. I am using this
bind = $mainMod, return, fullscreen,1
I am coming from qtile and this is very similar - even better you can also use fake-fullscreen to toggle apps internal fullscreen mode independently of their actual fullscreen-ness

However I have the problem that new windows dont automatically "come to front" so instead I am using pyprlands center layout (which emulates the effect through floating - so the rest of the windows are kept in their layout)

@Rolv-Apneseth
Copy link
Author

Rolv-Apneseth commented Jun 10, 2024

Not quite there for me personally. Opening a new window like you said won't focus it, it triggers the full-screen mode for the application (personally don't like this), and closing a program will kick you out of full-screen mode.

Thanks for pointing out pyprland though, gonna have a look at it

Edit: Just realised what I opened this issue for specifically, I suppose this can be closed as now opening a new window does not kick me out of full-screen mode. Probably just going to follow #2050

@clotodex
Copy link

If you set fullscreen to '1' (not 0 or 2) then the fullscreen state of the application is not triggered

Otherwise something that annoys me is that closing the window kills the fullscreen mode

@Rolv-Apneseth
Copy link
Author

But then unfortunately that doesn't cover the bar. Just yeah, for me personally a proper monocle layout would be great. I'm not the one developing this fantastic window manager though, so I am happy to wait for a better solution.

@nktnet1
Copy link
Contributor

nktnet1 commented Jul 15, 2024

However I have the problem that new windows dont automatically "come to front" so instead I am using pyprlands center layout (which emulates the effect through floating - so the rest of the windows are kept in their layout)
...
Otherwise something that annoys me is that closing the window kills the fullscreen mode

@clotodex I think this should now be fixed (for fullscreen mode 1, aka "maximise") with #6870 merged.

closing a program will kick you out of full-screen mode

@Rolv-Apneseth once #6880 gets merged, I think this will be resolved too (by enabling the misc:exit_window_retains_fullscreen variable/option).

Agreed on having a monocle layout, but perhaps that is better tracked in #2050 as you've mentioned.

@Rolv-Apneseth
Copy link
Author

@Rolv-Apneseth once #6880 gets merged, I think this will be resolved too (by enabling the misc:exit_window_retains_fullscreen variable/option).

Oh nice, thanks for pointing that one out

Agreed on having a monocle layout, but perhaps that is better tracked in #2050 as you've mentioned.

Yeah I'll go ahead and close this one, and just subscribe to that issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants