Giter Club home page Giter Club logo

gnome-shell-extension-awesome-tiles's People

Contributors

chake96 avatar dolland avatar guillaumecle avatar lazydays79 avatar madame-louise avatar mhecher-sc avatar nushoin avatar qwreey avatar velitasali avatar vistaus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gnome-shell-extension-awesome-tiles's Issues

Simple way to get three windows next to each other

Hi,
this extension is great for wide screens, thanks!

I like the function to use several key-presses to get windows in 1/3, 1/2 and 2/3 widths, it helps when looking at multiple windows.

What I'm missing is a function to easily put a window, 1/3 of the width but full height, in the middle of the screen. As it is now, I put one to the left, one to the right, then manually resize the third window in the middle.

Super+KP_5 unfortunately reduces the height as well, so it doesn't quite do what I want..

Could you please implement specific gaps for each side (e.g. in percent).

Could you please implement specific gaps for each side (e.g. in percent).
Here is an example like:

inputs:

const topGridPortion = 10
const bottomGridPortion = 100
const leftGridPortion = 10
const rightGridPortion = 10

calculation before move_resize_frame:

x = x+(workArea.gaps.x*(leftGridPortion/100-1))
w = w-(workArea.gaps.x*(leftGridPortion/100-1))-(workArea.gaps.x*(rightGridPortion/100-1))
y = y+(workArea?.gaps.y*(topGridPortion/100-1))
h = h-(workArea.gaps.y*(topGridPortion/100-1))-(workArea.gaps.y*(bottomGridPortion/100-1))

Would be cool if it was in the original extension.

Gap not between windows

Hi Veli!
I've noticed a thing that i suppose is an issue but i'm really not sure if it's intended:
if i set a gap for tiling, the gap is observed only on the external area of windows but not between windows, or at least is strangely performed.
I've put a screenshot of what i'm talking about to be clearer.

immagine

Is that a bug or is it correct?

Aspect ratio option

Hi,

great extension. I really love the simplicity of it! I was actually looking for an extension that would allow me to make the tiles split custom and found yours that is truly simple so I can modify it :)

Here's my changes: https://github.com/eboye/gnome-shell-extension-awesome-tiles/commits/main

As I'm really really new to gnome shell extensions, I'm pretty bad at making those options. But if you could make some kind of presets for tile splitting and incorporate that into the tile function.

I'm using a 21:9 monitor ultra wide and I often need to split my screen to 16:9 + 5:9. More often then anything else.

Also, I'm not sure if it's possible, but it would be great if there was an option to set preset per screen :) As I have another 16:9 screen that would be great if had regular tiling. But this one is less of an important to me :)

Anyhow, thanks a bunch for making this extension.

Support Gnome 46

Thanks for this excellent extension!

It would be awesome to support Gnome 46, which was released very recently and (I believe) will ship with Ubuntu 24.04 next month!
I'm currently using 46, please let me know if there's anything I can do to help with porting it to this new version.

Cheers!

Feature request: Setting to follow mouse monitor when tiling

First of all thanks for the great work. The extension lives up to its name and it's actually AWSOME.

However, I dare make a suggestion for a new feature:

As a user who works with three monitors, I would appreciate the addition of a setting that, when enabled, would allow keyboard shortcuts to tile the focused window on the monitor where the mouse cursor is currently located, rather than the window's original monitor.

Something like "Follow the mouse and tile"

Again thanks for your great job!!

Best regards

Disable the gap

Hi, thanks for the great extension!

Is there a way to reduce the size of the gap or disable it altogether? (I tried following the instructions on the Useless Gaps README, but to no avail.)

Thanks!

Disable shortcut

Hi, thanks for this awesome plugin -- been using for the past few days and really loving it, especially the extremely intuitive "press-again" to increase/decrease the size!

One question I had was: is it possible to add a simple "Disable shortcut" feature?
The default shortcuts implements this nicely by just setting "press ESC to cancel, ENTER to confirm, and BACKSPACE to disable"

I'll sometimes accidentally click a setting, and I'm forced to assign a shortcut that doesn't interfere, and I'd assume it's basically safe to assume that "ESC", "BACKSPACE" and "ENTER" should be safe to never be part of the shortcut commands

Update (and reinstall) returning an error and extension stopped working

Hey, thanks for the great extension! It helps me a lot!

So, I went to https://extensions.gnome.org/extension/4702/awesome-tiles/ and there was an update option. I clicked and the UI returned "Error". The extension stopped working. I tried uninstalling and then installing back (through both the website and cloning the repo), but it is not working anymore.

I am on Fedora Linux 36 (Workstation Edition), GNOME version 42.2 (Wayland).

Implement ability to size windows in the centre of the screen without affecting height

Right now using the Tile Window to Center functionality will cause the window to shrink/expand vertically as well as horizontally.

This makes perfect sense, however, it would be nice if there were options to only scale horizontally, letting the window take the full height of the screen.

I currently achieve this by using Super+KP_4 or Super+KP_6 until the window is at the size I want, then I use Super+KP_0 to centre the window. This is acceptable, but it would be great if there was some way to add some kind of discriminator to the tiling steps to indicate that only a particular dimension should be sized.

I'm using a 32:9 monitor, so having 3 applications sharing only the screen's horizontal space (in a non-homogeneous way) works really nicely.

This extension has been a life safer!

Allow customization of tiling steps per direction/corner

Possible partial functionality overlap with !23

Currently the extension allows customizing tiling steps for center and side tiling.
I think expanding this to allow a more fine grained control would be useful.

As an example (what I would like to use) :

  • center tiling: 1 , 0.5
  • left/right side tiling: 0.5, 0.65 , 0.35
  • top/bottom tiling: 0.5, 0.65 , 0.35
  • corner tiling : 0.5, 0.35

The reason for me is that corner .65 has no real use. If I need a large window I either go .65 top/bottom or sides.
The fact that this however can not be configured results in me sometimes having to corner-tile multiple times to get the desired result.

If I have time on the weekend I might dig into the code to see if I can provide a PR. However I am not familiar with js and gnome-extension programming, so no promises :)

Quater Tiling with Super + Arrows

Hi,
It's possible I'm being dumb. I previously used this extension and it worked beautifully. I've now installed in on Gnome 42 and I cannot seem to get quarter tiling working properly. I can assign my own hotkeys and have quarter tiling working, but it used to be the case that if I tiled to the left (super + left), then hit super + down it would tile to the left-hand bottom corner. I cannot seem to replicate this functionality anymore and it was very useful. Is this intended behavior or have I missed something?
Regardless, great extension, thank you for making it

[Question] Purpose of gaps

Firstly, thank you for making this extension. I've been using "Put Windows" for years, and it stopped working on ubuntu 22 / gnome 42. Was very happy to find this drop-in replacement!

What is the purpose of the gaps feature? I'm sure it serves some useful purpose, but I just can't figure out what that is? πŸ˜„

Is there anyway to customise the snaps?

Hi with portrait screens I sometimes want to divide the screen into more than 3 windows vertically but I have to do this manually, is there a way to change the snap sizes. I would benefit from 1/4 and 1/6 screen height options, thanks, simon

[Suggestion] Easy update for gnome 43

First of all, thank you for this awesome extension.

I just upgraded to Ubuntu 22.10 and the extension manager disabled this extension as it's not compatible.

I found that just adding ,"43" to the metadata.json makes it work without any issue.

Disclaimer: I use 0 as gap, so I didn't test it, but I don't think that's going to be a problem, as it appears it's only used for internal calculations.

Cannot assign key shortcut

As per title, i cannot change shortcut from "extensions" app, menu remains on "press your keyboard shortcut..."

GNOME 40
Ubuntu 21.10

Shortcut combos of 3 keys not detected properly

When using super+Left for tile-left and super+shift+left for tile-upper-left this cannot distinguish between the two key combinations and only traps the super+left portion, ignoring the modifier. Other tiling plugins correctly handle this.

Gap shown even when gap feature disabled

When I have two windows tiled vertically - i.e. one occupies the top 50% of the screen and the other the bottom 50% - there is a small gap between the windows, as well as between the top window and top edge of the screen, and bottom window and bottom edge of screen.

The settings:

  • Gap Between Window and Workspace = 0
  • Gaps Between Windows = off

This occurs whether there's a taskbar on the screen or not.

What could be the problem?

Regression when tiling Firefox

On latest Fedora Silverblue running GNOME 45, tiling Firefox has recently broken.

If I, for example, have Firefox tiled on the left half of the screen and press the keyboard shortcut to move it to the right, it’ll animate and then snap back to the original location.

If I Alt+Esc to select the window, it will pop into existence where it should have been.

(It looks like the final window draw is failing following the animation.)

No instructions on how to use this extension

I installed this extension (on Ubuntu 20.04) for the first time, but I am totally clueless as to how to use this extension to tile/resize/position my windows. Which keystrokes are mapped to which action - the README is quite vague about it. Also, how to reconfigure the key mappings?

Tiling Bottom Edge does not reach monitor edge on Vertical Orientation

Currently, when you have a vertically oriented monitor and try to tile a window either in the center or to the bottom it does not align to the window edge. There is a small gap and I think its from not including the height of the window's title bar in the _tileWindow function. I've implemented a fix Im happy to create a MR for.

Error when installing

I run RHEL with Gnome Shell 3.32.2. I installed the extension from https://extensions.gnome.org/extension/4702/awesome-tiles/, but the install button turned into a red error button. After refreshing, I was able to extract the following error message:

SyntaxError: expected expression, got '.'

Stack trace:
  get prefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:659:13
  _showPrefs@resource:///org/gnome/shell/extensionPrefs/main.js:55:13
  _extensionsLoaded@resource:///org/gnome/shell/extensionPrefs/main.js:308:13
  _scanExtensions/<@resource:///org/gnome/shell/extensionPrefs/main.js:286:13
  asyncCallback@resource:///org/gnome/gjs/modules/overrides/Gio.js:131:13
  main@resource:///org/gnome/shell/extensionPrefs/main.js:691:5
  @<main>:1:43

[Feature request] Allow window to be tiled at fractional positions

Hello, thank you so much for developing this extension!
I am coming from macOS, and this extension has helped a lot with my transition.

I would like to suggest a new feature, that would allow the focused window to be tiled at fractions.

For example:

  • tile window at (1/4, 1/3, 2/3, 3/4) of total space, from the left
  • ... from the right
  • ... from the center
  • etc.

I am using an ultrawide monitor, so being able to have more granular control over the size of my windows relative to the screen would help significantly with my productivity.

For reference, the feature I described is basically exactly from an app I've been using on my mac, called Rectangle.

settings menu doesn't open on 20.04

Hey there, firstly thanks for that great extension!

Unfortunately on 20.04 (tested on 2 PCs) the settings window does not open. Extension version is 4.

Otherwise its working fine but on the laptiop I need to change the shortcuts as I don't have a numpad.

Default Ubuntu Terminal Has Gap at Bottom and Right side when tiling

My Settings:
Gaps Between Windows: Off
Gap Between Window and Workspace: 0
Center Tiling Steps: 1
Side Tiling Steps: 0.5, 0.3

Image Description: Chrome on the left is properly sized when I have a split window at 0.5. The Terminal Window on the Right has a gap around the bottom and the right side (My desktop background is grey).

image

Thanks

[Suggestion] Allow multiple sizes with tile window to center

Using the Tile window to center keyboard shortcut you will end up with a large centralized window. And on an ultrawide monitor you will end up with a huge centralized window. It would be nice if you could press the keyboard shortcut several times and go through multiple sizes. Just like you go through three different sizes while tiling left or right.

Thanks and keep up the good work!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.