Tiling

Christopher Roy Bratusek <[email protected]>
Newsgroups gmane.comp.window-managers.sawfish
Message-ID <4714740.uDzLnXVrVQ@ambassador>
Hi folks,

I did some refinements on our tiling functions and it's almost done. So I'd 
like to encourage you to try it out. Example configuration:

;; Tiling
(require 'sawfish.wm.tile.tile)
(tall-tiling 0 #:width 1.75 #:top 0 #:bottom 0 #:gap 3 #:max 3)
(col-tiling 0 #:top 0 #:bottom 0 #:gap 3 #:cols 3)
(bind-keys global-keymap
	   "C-S-KP_Add" 'increase-max-windows
	   "C-S-KP_Subtract" 'decrease-max-windows
	   "C-M-KP_Add" 'increase-cols
	   "C-M-KP_Subtract" 'decrease-cols
	   "C-M-Right" 'tall-rotate-right
	   "C-M-Left" 'tall-rotate-left
	   "C-F11" 'next-tiling)

first arg for *tiling is the workspace, so you can have different tilings for 
different workspaces. The latest set-up tiler for a workspace is the default 
one, column-tiling in this case.

With next-tiling you can switch between the tiling modes, column => tall => 
none in this case. In column tiling all windows are tiled into same-size 
columns, in tall tiling, there's a big window on the left and smaller ones 
right. So I personally recommend column tiling for multi-heads.

tall-rotate-right and tall-rotate-left let you "cycle" through the windows, so 
can always choose which window is the bigger one on the left. There's no such 
function for column tiling, as all windows already have the same size.

Maybe I'll look into adding a row tiling.

Regards,
Chris
signature.asc (application/pgp-signature, 490 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAABAgAGBQJRV0gbAAoJEEudM3UFdUniD3kIAJpFTJdgIu693xF2KViWUpD+
+A4VLsmVnUCLmA+Jeq3Tpiym+srwe/+1rO+x1W1V4JAZ/qLU4TwLdCfeJEeRGcsY
G02v1IibbHcpOgNLFD6cl78Rf+RMIoNesxP1Rg+J4BGE6P2CYIc2tj0LNZBmgEsf
Vr+6Jb144HycLKJyLC4uZbGsK1fUAqJkbob0nlmeDkma/I5+noBtaEbDvMeo6Wgq
OpeZaK8i4d3Mz1LGZLsVF0crqPeNK5NW9PorJR7auDozFgg/5Dg1fba7ZwPT28FT
ymAjzTESYLzSQIjA4AdaAKyvMJm5wgwtaTuNY4PkoJl0nuAXeTTIAn83pPrDFo8=
=2513
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.