My Ideal Window Manager
Published: 2021-02-18 01:18:18

---
title: My Ideal Window Manager
published: true
date: 2021-02-06 16:30:00 UTC
tags: 
canonical_url: https://kevincox.ca/2021/02/06/my-ideal-window-manager/
---

<main><h2 id="my-use-case"><a href="https://kevincox.ca/2021/02/06/my-ideal-window-manager/#my-use-case">My Use Case</a></h2>

<p>I’ve been a GNOME user for a long time. A lot of people will make fun of GNOME for being relatively heavy weight and lacking any power-user features. That may be true but I find that GNOME 3 has a nice simplicity to it and it does what I need. The main features I use are <code>&lt;Super&gt;</code> to open the menu to search (I don’t use anything else in the menu), <code>&lt;Super-Up&gt;</code> to maximize a window <code>&lt;Super-Left&gt;</code> or <code>&lt;Super-Right&gt;</code> to move a window to half a screen and a couple of shortcuts for moving windows between workspaces and monitors.</p>

<p>One interesting observation about my workflow is that I use workspaces, but I rarely explicitly switch instead I use <code>&lt;Alt-Tab&gt;</code> to select the window I want to focus on and let that pull me to the correct workspace. I also use most apps maximized, however there are a few apps that I use side-by-side, like my editor and a terminal or a web browser and my character sheet.</p>

<p>When I mention my workflow people quickly suggest a tiling window manager, however that isn’t what I want. When you open a new window most tiling window managers will put it in a portion of the screen, and squish or rotate other windows. Instead I want new windows to open maximized by default, only tiling if I explicitly request it.</p>

<h2 id="my-idea"><a href="https://kevincox.ca/2021/02/06/my-ideal-window-manager/#my-idea">My Idea</a></h2>

<p>I would like a window manage that behaves like this:</p>

<ol>
  <li>New windows open maximized. They take up all of the active monitor.</li>
  <li>I have a shortcut to attach another window to the side of this window in a form of tiling.
    <ul>
      <li>From now own these windows are “joined” and switching to one will bring the whole group to the screen.</li>
      <li>The shortcut can be repeated to attach more windows. This would give you arbitrarily complex layouts for a group.</li>
      <li>I can imagine the shortcuts being <code>&lt;Super-h&gt;</code> to join a new window to the left side, <code>&lt;Super-l&gt;</code> to the right <code>&lt;Super-j&gt;</code> to the bottom and <code>&lt;Super-k&gt;</code> to the top.</li>
    </ul>
  </li>
</ol>

<p>It is a pretty simple concept, but I think you can see that it is fairly powerful. Once you start a group you get the powers of a tiling window manager but it changes the default to be maximized instead of joining the group.</p>

<h2 id="isnt-this-just-workspaces">Isn’t this Just Workspaces?</h2>

<p>They are similar, and I use workspaces to approximate this flow but there are a couple big differences.</p>

<ul>
  <li>New windows open in a new “workspace” by default. Most current window managers open new windows in the current workspace. This doesn’t work how I want it because if you open a new maximized window on a workspace with multiple windows and <code>&lt;Alt-Tab&gt;</code> to one of them it raises that one window, but the others in the “group” are left under the new window.</li>
  <li>Generally they don’t have good shortcuts to tile a number of windows, and even if they do support some form of tiling it isn’t really a first class feature, so changing the size of one window doesn’t update its neighbours. (GNOME does have “first-class” tiling for two side-by-side windows, but nothing else).</li>
</ul>

<p>I think this would work really well for my use case. It is probably possible to configure one of the more flexible window managers to work like this but haven’t found the time yet. Is there a window manager that works like this already? I would be interested in trying it out.</p>