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

[Feature Request] Keyboard Shortcuts #36

Closed
ebits21 opened this issue Jun 19, 2024 · 12 comments
Closed

[Feature Request] Keyboard Shortcuts #36

ebits21 opened this issue Jun 19, 2024 · 12 comments
Labels
enhancement New feature or request

Comments

@ebits21
Copy link

ebits21 commented Jun 19, 2024

In Windows it's nice to move windows into half/quarter tiles using the Windows key and the arrows on the keyboard.

I would like some way of fitting a window into the tiling layout using only the keyboard. This is much nicer when on a laptop compared to using the mouse to place windows into the tiling layout.

As layouts are varied, I suggest, as possibilities:

  1. A keyboard shortcut to cycle the current window through different open positions in the current Layout. Alternatively, could just cycle the window to the next position in the layout and overlay a window if it is already there.
  2. A keyboard shortcut to change the current layout to the next layout.
  3. If default quarter tiling is implemented, allow the Super key plus arrows to quarter tile the current tile, like on Windows.
  4. A keyboard shortcut to change the focused window. Maybe this already exists in Gnome?
@ebits21 ebits21 changed the title Keyboard Shortcuts [Feature Request} Keyboard Shortcuts Jun 19, 2024
@ebits21 ebits21 changed the title [Feature Request} Keyboard Shortcuts [Feature Request] Keyboard Shortcuts Jun 19, 2024
@joaocandre
Copy link

Came here to create a post on this, glad to know I'm not the only one thinking this. Very well designed extension overall, but indeed missing keybindings to streamline window tiling.

@domferr
Copy link
Owner

domferr commented Jun 19, 2024

Hey thank you for this suggestion! This is actually under development: in version v9.0 it will be possible to use Super key + arrows to cycle the current window through the tiles of the current Layout (your first idea!).

If you wanna try it in advance, I'll leave attached the new version currently under development.

A keyboard shortcut to change the current layout to the next layout.

That was not being considered, I'll think about it!

@domferr domferr added the enhancement New feature or request label Jun 19, 2024
@ebits21
Copy link
Author

ebits21 commented Jun 19, 2024

Awesome, will check it out if I get a chance 😎

@joaocandre
Copy link

it will be possible to use Super key + arrows to cycle the current window through the tiles of the current Layout (your first idea!).

Will it be possible to assign shortcuts/combinations to specific tiles?

@domferr
Copy link
Owner

domferr commented Jun 20, 2024

it will be possible to use Super key + arrows to cycle the current window through the tiles of the current Layout (your first idea!).

Will it be possible to assign shortcuts/combinations to specific tiles?

That is not planned since I'm aiming to extend GNOME's default behaviour

@joaocandre
Copy link

Fair enough, but how would one deal with multiple layouts? Is only the first layout considered in that case?

@domferr
Copy link
Owner

domferr commented Jun 21, 2024

Fair enough, but how would one deal with multiple layouts? Is only the first layout considered in that case?

No, when pressing Super key + arrows, the currently selected layout will be taken into consideration

@kaanaksit
Copy link

Hey thank you for this suggestion! This is actually under development: in version v9.0 it will be possible to use Super key + arrows to cycle the current window through the tiles of the current Layout (your first idea!).

If you wanna try it in advance, I'll leave attached the new version currently under development.

* GNOME 42, 43 and 44: [[email protected]](https://github.com/user-attachments/files/15897186/GNOME.42-44.tilingshell%40ferrarodomenico.com.zip)

* GNOME 45 and 46: [[email protected]](https://github.com/user-attachments/files/15897188/tilingshell%40ferrarodomenico.com.zip)

A keyboard shortcut to change the current layout to the next layout.

That was not being considered, I'll think about it!

This works perfectly. I can not describe how functional this keybinding is. Gnome has needed this for so long. I look forward to seeing this new version moving to a stable version soon.

@domferr
Copy link
Owner

domferr commented Jun 21, 2024

Hey thank you for this suggestion! This is actually under development: in version v9.0 it will be possible to use Super key + arrows to cycle the current window through the tiles of the current Layout (your first idea!).
If you wanna try it in advance, I'll leave attached the new version currently under development.

* GNOME 42, 43 and 44: [[email protected]](https://github.com/user-attachments/files/15897186/GNOME.42-44.tilingshell%40ferrarodomenico.com.zip)

* GNOME 45 and 46: [[email protected]](https://github.com/user-attachments/files/15897188/tilingshell%40ferrarodomenico.com.zip)

A keyboard shortcut to change the current layout to the next layout.

That was not being considered, I'll think about it!

This works perfectly. I can not describe how functional this keybinding is. Gnome has needed this for so long. I look forward to seeing this new version moving to a stable version soon.

Hey @kaanaksit I'm happy you are enjoying it! The good news is that the new version (the one you tried) is already under review and will be published soon! Feel free to open a new issue for any bug or for sharing any cool idea!

@domferr
Copy link
Owner

domferr commented Jun 22, 2024

✔️ Completed in version 9.0! The new version is already available on GSE

@domferr domferr closed this as completed Jun 22, 2024
@joaocandre
Copy link

Cool addition, it becomes much more practical to tile windows this way.

A couple of observations though, which I'm not sure if bugs or intended behavior:

  • When a window is tiled the default 'untile' shortcut (Super + Down) no longer works;
  • If you 'maximize' and then 'unmaximize' a tiled window (Super + Up followed by Super + Down) the extension bindings no longer seem to work (you need to drag the window to re-enable them)

Lastly, it would be cool to have an additional binding to cycle through available layouts, not sure if that's planned for future releases.

@kaanaksit
Copy link

Honestly, I like the new behavior more than the default with super + down or up as it provides an easy way to move around a window around the screen. Please consider keep it as is.

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

4 participants