szymonkaliski/hhtwm

Docs : What do the layouts mean?

JoshuaCrewe opened this issue ยท 5 comments

Been playing around with this for a few weeks now and enjoying the experience. I have been trying to piece together my own config from your own dotfiles and some other reasources for configuring Hammerspoon.

I was wondering if there was potential to explain what the intention is with each of the layout options. Specifically monocle and cards.

Happy to help with the start of PR if that is welcome.

๐Ÿ‘ for a nice tiling window manager on macOS

Hey, sure, PRs are welcome.

I mainly use monocle on a laptop screen, and switch between multiple windows with some custom shortcuts to cycle through windows back/forth.

Cards is like monocle but gives little offset, so you can see you have more than one window; I don't use it much really.

When navigating through windows using your shortcuts presumably we are talking about North, South, East, West ? So these wouldn't work when in monocle or cards layout as they are stacked? Is that right?

How are the windows layed out when using Monocle or Cards layout? Like what are the rules ?

With monocle I'm usually using these shortcuts: https://github.com/szymonkaliski/dotfiles/blob/master/Dotfiles/hammerspoon/bindings/focus.lua#L68-L69 to cycle between windows on given screen.

The windows are laid out in order of creation (newest on top) - https://github.com/szymonkaliski/hhtwm/blob/master/hhtwm/init.lua#L787

Beautiful. I am going to have another dig around and see if I can make sense of what I have find.

If my notes are of any use I will open a PR

Thanks very much!

As a quick update :
I found that when using this feature I have every window open full screen and either alt tab between them or using a Hyper Key shortcut. It works a real dream and so I have not found the need to dig into the other features.

I didn't want it to seem like I was holding anything back.

๐Ÿ‘ thanks for writing software that solves my problems.