G-dH / workspace-switcher-manager

GNOME Shell extension that adds workspace switcher options and allows you to customize workspace switcher popup and make it useful.
GNU General Public License v3.0
28 stars 3 forks source link

Add empty workspace above the first one #2

Closed joelostblom closed 2 years ago

joelostblom commented 2 years ago

Thanks for this extension, I find it quite useful! I see that there is an option to remove the last empty workspace, do you think there could also be an option to add an empty workspace on top before the first one? Ideally this would still work with the wraparound feature.

G-dH commented 2 years ago

Adding an empty workspace in front of the first one in dynamic mode wouldn't be so easy and I don't see any reason for this feature. You can switch to static mode and keep the first workspace empty. I plan to add controls for the number of workspaces to the main panel, as an option. If you need to add new workspace before the first one in dynamic mode, you can use keyboard shortcut for Move window one workspace to the left, or you can use my other extensions, both AATWS and CHC-E can move the window in front of the first workspace even on Shell versions prior to 40 that don't support this natively. Both extensions also provide actions for reordering workspaces, moving windows to the adjacent/new workspace next to the current one. CHC-E can even move all windows across workspaces in one or the other direction (like first workspace virtually become last (in dynamic mode second last) and the second first, ...).

joelostblom commented 2 years ago

Thanks for your reply @G-dH , I am currently using the workaround your mention with moving windows, but I personally prefer being able to move to a new empty workspace and then open a new window there instead of opening it on an already full workspace and then moving it (especially since I am using a tiled layout). I have tried using static workspaces, but there are other drawbacks with that such as having too many empty ones open and not being able to wraparound effectively. But I hear you that it might be tricky to add the feature I suggest and it might not be worth the development effort to make it happen since there is a workaround.

~On another topic, I really like the "Reverse workspace orientation" option that your extension provides and I wanted to ask is if you know if there is a gsetting (or similar) to control this so that I can permanently set the workspaces to be laid out vertically even when I don't have an extension installed.~ Figured it out by re-enabling one of the default extensions PopOS comes with that was previously in conflict with another addon.

image

G-dH commented 2 years ago

@joelostblom : For the reversed workspace orientation you need to set two internal variables (rows, columns) and you need an extension to do it.

When I need to open a new window/application on the new workspace in front of the currently first one, I simply open the window/app on the first workspace and then rotate the mouse wheel up with the pointer at the right edge of my monitor, if I have my fingers on the mouse - CHC-E can move one window but also all windows of the same app from the current workspace to an adjacent workspace at once, not only using the mouse but also using global keyboard shortcuts. AATWS can move windows and applications too, even between monitors. With these two extensions I can completly reorganize workspaces in a moment whether I have my hand on the mouse or keyboard.