PaperWM icon indicating copy to clipboard operation
PaperWM copied to clipboard

Resurrect Zen mode (only show selected window)

Open olejorgenb opened this issue 5 years ago • 8 comments

Screenshot from 2019-07-06 12-57-00

Center the focused window and push other windows to the side. Maybe hide topbar too?

As discussed earlier a good way to activate is double centering the window. That way we don't need a new binding. Recenter a "zen window" or navigating would exit the mode.

olejorgenb avatar Jul 06 '19 11:07 olejorgenb

A very MVP implementation: https://github.com/paperwm/PaperWM/tree/mvp-zen-mode

animation

olejorgenb avatar Oct 19 '19 09:10 olejorgenb

Thanks for rightly referencing this from #367, I love this!

But I do think the functionality has to be able to extend to more than one window as much tasks are multiple windows native. Developing + Stackoverflow, writing FE code and watching the render in live in a browser etc.

eliorc avatar Jan 30 '21 12:01 eliorc

Would you not just use workspaces in that case?

markk avatar Jan 30 '21 13:01 markk

Another workspace could be an ad-hoc fix, but one of the goals we try to achieve is having a meaningful separation between workspaces, ie. a workspace should be able to contain all work related to that topic.

So I agree selecting several windows for a zen mode could be nice.

Now personally there's others things I want to do before a zen-mode is properly tackled, and I've sketched down somewhat of a road map of the things I think we should really add/get done and should probably just post and pin the road map as I see it (eg. navigating the minimap with the mouse, like the alt-tab preview, is something I'd really like to get done, also #225 is something I use and really makes mouse interactions alot better).

hedning avatar Jan 30 '21 16:01 hedning

@markk as I see it workspaces are not temporary, but rather permanent - so while working, I might keep my WhatsApp web browser and my personal email on one workspace, while the work related stuff on another. As I see it Zen mode is more of a temporary configuration for what I am doing right now inside a workspace, like replying to an email, fixing a bug etc.

eliorc avatar Jan 31 '21 09:01 eliorc

image

eliorc avatar May 12 '21 05:05 eliorc

I think it's worth reminding that this feature would be an awesome addition to PaperWM, when I code and want 100% focus today I move my IDE to a separate workspace. The problem with that is that when I'm reading some documentation, or consulting SO/GPT I find myself flicking back and forward which gets quite complex to get right when you have multiple windows open. I think the ability to "Zen" mode into a specific window, un-Zen it for a second to see the whole context and then re-Zen it would be a good productivity booster

eliorc avatar Dec 12 '23 07:12 eliorc

Right, it's about time we implemented this. @eliorc has been waiting long enough!

I've started work on this. Will report back when I've got something to test.

jtaala avatar Feb 14 '24 10:02 jtaala