FancyZones on Windows

Pre-defined layouts with custom hotkeys as a smart way to improve windows management 🦾

Bartek Jedrol
4 min readApr 13, 2022

Context switching

Typically, when you are working on something on a computer you are using multiple windows open at once. Since very often you need multiple apps to make your work complete, it is very difficult to avoid switching between windows. It translates to constant context switching 🔄 which cost becomes increasingly impactful.

Additionally, our ability to focus gets consistently degraded because we are getting distracted almost all the time. As a result, the flying windows cause issues with focusing on the work at hand and getting back to what you have started working on.

Let me ask you a few questions about your windows management:

  1. Do you notice that sometimes you get lost with all of the windows opened?
  2. Do you find that your monitor is far too small although you already have the 32'’ one?
  3. Do you assume your productivity would be higher if you would keep your apps always organized in the same way?

Windows management

Although Microsoft Windows is still the dominating operating system (OS) it is a common opinion that Mac OS wins the race in terms of working more effectively. It is especially noticeable when it comes to the windows management for which the Mac OS users have the OOTB utility called Mission Control.

The Mission Control utility preview on Mac OS

Unfortunately, Windows 10/11 users have far more trouble since such a function does not come with OOTB.

FancyZones on Windows

Luckily, it is still possible to use a set of utilities called PowerToys to power users to improve their productivity. It includes the FancyZones tool as a window manager that makes it easy to create complex window layouts and quickly position windows into those layouts. When the user drags a window into a zone, the window is resized and repositioned to fill that zone.

FanyZones utility on Windows

With FancyZones:
- you can use pre-defined layouts,
- you can build your own custom layouts,
- you can set the space between zones,
- you can use hotkeys to arrange the zones,
- you can define a black-list app,
- you can apply the zones on multiple monitors.

Configuration ⚙️

Let’s dive into my configuration ️of the FancyZones you might find useful.

Arrange the zones respectively to the work you are doing by keeping in mind how many windows and which setup you would need for a specific activity.

Custom layouts defined in the FancyZones utility

You may consider a preferred way of snapping your windows as just dragging and dropping them to respective zones.

FancyZones in action

Be aware that the default hotkeys activating the zones might not be so handy for you, therefore I would recommend remapping them to custom hotkeys with the use of the Autohotkey. This way you can make them more intuitive and user-friendly.

- Custom layout 1 (Ctrl + win + alt + 1) -> remapped to Alt + q
- Custom layout 2 (Ctrl + win + alt + 2) -> remapped to Alt + w
- Custom layout 3 (Ctrl + win + alt + 3) -> remapped to Alt + e
- Custom layout 5 (Ctrl + win + alt + 5) -> remapped to Alt + r
- Custom layout 4 (Ctrl + win + alt + 4) -> remapped to Alt + t
- Custom layout 6 (Ctrl + win + alt + 6) -> remapped to Alt + y

With the use of the customized hotkeys quickly changing between custom layouts becomes definitely more straightforward and effective.

Switching between different FancyZones layouts using customized hotkeys

Get this configuration for free 👇

Do you want to reuse the setup I use? I have prepared for you the configuration pack containing:

  1. The settings for the custom zone layouts that are stored in the file: %LocalAppData%\Microsoft\PowerToys\PowerToys\FancyZones\zones-settings.json
  2. The Autohotkey script for remapping the default hotkeys to be put in a folder: C:\Users\UserName\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

You can easily edit both files to meet your needs! You can download it here.

If you enjoyed this article, please give it a 👏 and share it on your social media. Thanks! Feel free to reach out to me on Twitter if you have any questions!

--

--

Bartek Jedrol

Tweeting about note taking to educate people, spreading idea of the Second Brain 🧠 in Poland.