fjolnir / xnomad

A tiling window manager for OS X, written in tranquil.
484 stars 28 forks source link

Bring the JSON config back or equivalent #36

Closed pikajude closed 11 years ago

pikajude commented 11 years ago

It was considerably easier to change the config when it was ~/.xnomad instead of in the xnomad source. Also, despite reading Layouts.tq, I can't figure out how to restore the layouts I used to use in whatever "old" xnomad is (been awhile since I looked at the repo, but when it used ~/.xnomad), particularly this layout:

1 2
3 4

which was my favorite.

courajs commented 11 years ago

:+1:

fjolnir commented 11 years ago

Feel free to fork. The line you were looking for is 10 in xnomad:

        \ See Layouts.tq for additional ones
        setLayouts: [MultiColLayout new,
                     MultiColLayout new setHorizontallyFlipped: yes; self,
                     FullscreenLayout new];

There was no way to configure this back when I used json

pikajude commented 11 years ago

Which one is the 4-up layout?

(The only reason I'm asking is because I tried every variant I found in Layouts.tq and none of them did that. So I assume I'm doing something wrong.)