fancywm icon indicating copy to clipboard operation
fancywm copied to clipboard

Layout presets

Open sp4d1n0 opened this issue 3 years ago • 4 comments

Is your feature request related to a problem? Please describe. Manually have to resize layout

Describe the solution you'd like Setup some layouts to be assigned to a monitor, as fancyzone, and able to be recalled by keybinds

Describe alternatives you've considered None

Additional context Been able to use the same layouts as fancyzone would be great, as fancyzone already has the ability to setup more than a layout for the same monitor and to recall them by keybind

sp4d1n0 avatar Oct 14 '21 14:10 sp4d1n0

Hi, Thanks for the suggestion. I do like the idea, but I'm not sure how FancyZone implements this.

  1. Would these keybinds open applications and arrange them in a certain way, or rearrange existing windows of configured applications?
  2. Would you mind sharing what those layouts look like (i.e. three vertical columns, or something more complex). I'd be curious to know if there are ways to reduce the effort in creating those layouts in the first place.

veselink1 avatar Oct 17 '21 12:10 veselink1

Hi! So, the FancyZones implementation is quite raw and crude. It's possible to assign a layout to a keybind and recall it. But as FZ is not dynamic, we need to manually move the tiled windows to the new zones arrangement.

Anyway, it's possible to have different layouts in FZ both numerical and geometrical - horizontal, vertical, more or less zones, etc...

sp4d1n0 avatar Oct 23 '21 14:10 sp4d1n0

I would love to be able to create a layout for a virtual desktop or monitor with, for example, a stack panel on my left and tiling on my right. On another virtual desktop or monitor, only a stacked zone, to use as full screen... Having to recreate that at login every time is time consuming and slightly annoying. ;)

sp4d1n0 avatar Oct 23 '21 14:10 sp4d1n0

I want to extend this discussion a little bit.

So main idea behind this (as well as couple others) ticket here is to be able to store current layout configuration and restore it later. It's kind of partially working even right now, when you minimize window and then activate it again it returns back to same panel, same place (if window not alone in group). You can use Win + Number keys to minimize/restore windows from taskbar and check it

It's not possible to restore window in same place if it was only window in group, because if all windows leave group it's removed automatically.

So you may:

  • allow groups to live without windows (auto add some placeholder if group is empty)
  • add hotkey to drop group (available when focused on this placeholder of empty group, for ex)
  • serialize layout state and restore when app launches (or use hotkeys to save/restore layout)

aspidxt avatar Apr 14 '22 10:04 aspidxt

This issue is stale because it has been open for 14 days with no activity.

github-actions[bot] avatar Apr 22 '24 02:04 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar May 06 '24 02:05 github-actions[bot]