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

feat: implement paper-wm like layout #52

Open
jmmaranan opened this issue Oct 4, 2021 · 5 comments
Open

feat: implement paper-wm like layout #52

jmmaranan opened this issue Oct 4, 2021 · 5 comments
Labels
config-mgt Configuration management components enhancement New feature or request gnome-3x Gnome-Shell 3.3x version series gnome-4x Gnome-Shell 4x version series layouts Different layouts window-mgt Window management components

Comments

@jmmaranan
Copy link
Collaborator

When PaperWM layout is enabled, do that same thing!

@jmmaranan jmmaranan added enhancement New feature or request gnome-3x Gnome-Shell 3.3x version series gnome-4x Gnome-Shell 4x version series window-mgt Window management components config-mgt Configuration management components layouts Different layouts labels Oct 4, 2021
@jmmaranan jmmaranan added this to the BroadSword Release milestone Oct 4, 2021
@nobeh
Copy link

nobeh commented Nov 13, 2021

Thanks for considering this. The most valuable feature for me on a PaperWM like layout are basically:

  • <Super>+|- to resize the current focused window in terms of width. Why? On a wide screen (and even more on a single-window mode), auto-tile would expand the focused window to full size. In addition, having the control to resize the current focused window next to others gives a good ability to lay out the windows.
  • <Super><Shift>C which allows me to drag the current focused window in to the center of the screen. This is very useful for productivity and focus and also quite ergonomic.

@jmmaranan
Copy link
Collaborator Author

Hi @nobeh, sure thing! In the meantime for your 2nd note you can probably use the Super + C which does a float center toggle. I use it most of the time on a big screen for focusing. And then tile it back when done

@jmmaranan
Copy link
Collaborator Author

For your 1st note, though not similar to paperwm, you can do the resize which comes with GNOME Alt + F8 as trigger then arrow keys to resize or using the mouse. However, I still wanted to take control of the resize with few keystrokes, same as yours: more on the ergonomics.

I am planning to refactor or add to the utility that builds/executes the commands in the window.js so it can be bound immediately to a shortcut. Then the actual layout behavior would be on another ticket that focuses on just preset layouts or change layout only behavior when a certain layout mode is selected. E.g Forge mode, PaperWM mode, etc maybe Fancy Zones (a special floating window layout but manually set via keyboard)

@jmmaranan
Copy link
Collaborator Author

For what it's worth, PaperWM is a complex extension on its own (I applaud the authors for their work and looking at the readme and code - appreciate the nice and readable comments/structure) and I would be forging some of their features or do something similar. I am also trying to avoid though on making Forge very complex and harder to maintain because of the multitude of features. But we'll see! :)

@n-patiphon
Copy link

Looking forward to this. The addition of window resizing keybindings would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config-mgt Configuration management components enhancement New feature or request gnome-3x Gnome-Shell 3.3x version series gnome-4x Gnome-Shell 4x version series layouts Different layouts window-mgt Window management components
Projects
None yet
Development

No branches or pull requests

3 participants