paperwm / PaperWM

Tiled scrollable window management for Gnome Shell
GNU General Public License v3.0
2.79k stars 121 forks source link

[Feature Request] Focus mode #367

Open eliorc opened 3 years ago

eliorc commented 3 years ago

I've been working with PaperWM for a while now, and it really is a productivity booster.

Since I'm using it mostly for work, I find myself some times moving windows from the workspace to the scratch layer back and forth, and this is because when I'm working on something, I might want only the two windows I'm currently focusing on to be visible while hiding the others, and then when I'm done with the current task I'll want the other ones back on the workspace.

Example

For an example, let's say my workspace have three windows on it, the IDE, a browser and some kind of performance monitor. Let's say now that I got an impotant mail I have to reply to, at this point the IDE and the performance monitor become temporarly redundant as I want to focus on replying the mail. I imagine a feature where I can choose the windows I'm focusing on, and that PaperWM will blur out the rest of the windows, until I turn the focus mode off. It will be nice if it wouldn't be limited to one window, for example I might want to implement something and I'd like to focus on my IDE and the browser (for some documentation).

How I image the workflow?

Lets say we assign the SuperF for the job. So the workflow for focusing on something will be to tap SuperF and the current window will be kept while the others are blurred out. Pressing SuperF again, will return things to normal.

If I want multiple windows on my focus, then I will use SuperFRight/Left and all the adjacent windows I'm going through will enter the focused section while the others will be blurred out. Yes this essentially means that you can't focus on windows that are not adjacent to each others, but as I see it this makes sense.

Obviously, thinking more deeply about the experience might yield a different approach (instead of blurring doing something else) and that's okay - the bottom line is being able to shut out things that are not relevant temporarly to focus on a task at hand.

Thank you very much for this great piece of software 🙏🏼

hedning commented 3 years ago

We've been experimenting with what we've dubbed Zen-mode here https://github.com/paperwm/PaperWM/issues/150. Though I'd guess there's some merge conflicts.