diff options
Diffstat (limited to 'emacs/.emacs.d/wpc/window-manager.el')
-rw-r--r-- | emacs/.emacs.d/wpc/window-manager.el | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/emacs/.emacs.d/wpc/window-manager.el b/emacs/.emacs.d/wpc/window-manager.el index 98ee1cece96b..6030461da61b 100644 --- a/emacs/.emacs.d/wpc/window-manager.el +++ b/emacs/.emacs.d/wpc/window-manager.el @@ -72,7 +72,15 @@ (make-window-manager--named-workspace :label "Coding" :kbd "d" - :display display-4k-horizontal)) + :display display-4k-horizontal) + (make-window-manager--named-workspace + :label "Vertical" + :kbd "h" + :display display-4k-vertical) + (make-window-manager--named-workspace + :label "Laptop" + :kbd "p" + :display display-laptop)) "List of `window-manager--named-workspace' structs.") ;; Assert that no two workspaces share KBDs. @@ -337,7 +345,10 @@ predicate." ;; Startup Applications in `window-manager--named-workspaces' ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(add-hook 'exwm-init-hook (lambda () (window-manager--switch "Coding"))) +(add-hook 'exwm-init-hook + (lambda () + (display-arrange-primary) + (window-manager--switch "Coding"))) (provide 'window-manager) ;;; window-manager.el ends here |