This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/init-package/init-window-layout.el
2013-02-20 14:04:09 -05:00

31 lines
863 B
EmacsLisp

(require 'window-layout)
;; five windows upper right main
(setq wm-recipe-1
'(| (:left-size-ratio 0.33)
(- (:upper-size-ratio 0.5) first second)
(- (:upper-size-ratio 0.5) main
(| (:left-size-ratio 0.5) third fourth))))
(setq wm-info-1
'((:name main)
(:name first)
(:name second)
(:name third)
(:name fourth)))
;; five windows center main
(setq wm-recipe-2
'(| (:left-size-ratio 0.32)
(- (:upper-size-ratio 0.5) first second)
(| (:left-size-ratio 0.51) main
(- (:upper-size-ratio 0.5) third fourth))))
(setq wm-info-2
'((:name main)
(:name first)
(:name second)
(:name third)
(:name fourth)))
;; (setq my-default-layout wm-five-upright)
;; (wlf:refresh my-default-layout)
;; (wlf:select my-default-layout 'main)