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 layout #337

Closed
pikajude opened this issue Dec 9, 2019 · 7 comments
Closed

Fullscreen layout #337

pikajude opened this issue Dec 9, 2019 · 7 comments
Labels
enhancement New feature or request

Comments

@pikajude
Copy link

pikajude commented Dec 9, 2019

Hi, I think this feature existed in chunkwm but I can't find it in yabai. Basically, I have a massive external monitor that I use at work, which bsp works great for. When I work from home, I like to have most of the apps I use be (non-native) fullscreen, i.e. yabai -m window --toggle zoom-fullscreen, but for every app. This ensures I get max screen real estate and can alt tab through windows without having to switch spaces as I would if they were native fullscreen.

Is there a way to write a layout where every window is fullscreen zoomed? or is there a way to write a command that can do it for me?

@koekeishiya koekeishiya added the suggestion Request for new feature or some form of enhancement label Dec 14, 2019
@koekeishiya
Copy link
Owner

See #83 for some kind of scriptable solution. This also kind of ties in with #203. I suppose enough people are interested in this that I'll consider looking into it for the next release. No ETA though.

@SebastienElet
Copy link

Thanks a lot @koekeishiya it's really useful for 11-13 inches screens

@koekeishiya
Copy link
Owner

koekeishiya commented Jul 2, 2020

Implemented on master using #203 as the backing mechanism.

yabai -m config layout stack
yabai -m config --space 3 layout stack
yabai -m space --layout stack
yabai -m window --focus stack.first
yabai -m window --focus stack.prev
yabai -m window --focus stack.next
yabai -m window --focus stack.recent
yabai -m window --focus stack.last

@koekeishiya koekeishiya added enhancement New feature or request wip Work in progress and removed suggestion Request for new feature or some form of enhancement labels Jul 2, 2020
koekeishiya added a commit that referenced this issue Aug 25, 2020
@koekeishiya koekeishiya added addressed on master; not released Fixed upstream, but not yet released and removed wip Work in progress labels Aug 25, 2020
@koekeishiya
Copy link
Owner

Updated docs and changelog to reflect the changes made for this issue. I have yet to be able to fully test this feature; did anyone encounter any bugs as a result of these changes, or does it seem fine?

@jmpohl
Copy link

jmpohl commented Aug 27, 2020

@koekeishiya Has been working fine for me so far!

@danielhra
Copy link

Hey guys been loving yabai so far, moving from amethyst who would fail every here and then. I've been mainly using this layout but theres a few things i cant work around just yet, so i figured i would ask, btw if there is a better place to do so pls let me know!

So how would i be able to move a window within a stack to another space?

@jmpohl
Copy link

jmpohl commented Feb 23, 2021

@danielhra You should be able to use the same command that you would in any other mode than stacking to do the same thing (in my.skhdrc file):

shift + ralt - 2 : yabai -m window --space 2 

to move the focused window to space 2 for example. Of course to do this you will need the scripting additions installed and loaded, and the workspace will need to exist (personally I always have 10 workspaces created so I don't have to worry about bindings for creating and deleting workspaces)

P.S. This may not be the best place for you to ask about this, or for me to answer, but it worked out since I had alerts on for this issue lol

Amar1729 added a commit to Amar1729/yabai-zsh-completions that referenced this issue Dec 31, 2021
unrevre pushed a commit to unrevre/yabai that referenced this issue Jan 26, 2022
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