bc60a7e454
Work machines should prefer `/hadrian` and personal machines should prefer `/depot`. Change-Id: I03b605cc5ce233767146d83f14f368863897cf8b Reviewed-on: https://cl.tvl.fyi/c/depot/+/6368 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
40 lines
1.3 KiB
EmacsLisp
40 lines
1.3 KiB
EmacsLisp
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;; Dependencies
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
(require 'tvl)
|
|
(require 'display)
|
|
(require 'window-manager)
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;; Monitor Configuration
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
(display-register laptop
|
|
:output "eDP-1"
|
|
:primary t
|
|
:coords (0 0)
|
|
:size (1920 1080)
|
|
:rate 30.0
|
|
:dpi 96
|
|
:rotate normal)
|
|
|
|
(display-arrangement primary :displays (laptop))
|
|
|
|
(setq initial-buffer-choice tvl-depot-path)
|
|
|
|
(setq window-manager-named-workspaces
|
|
(list (make-window-manager-named-workspace
|
|
:label "Web Browsing"
|
|
:kbd "c"
|
|
:display display-laptop)
|
|
(make-window-manager-named-workspace
|
|
:label "Coding"
|
|
:kbd "d"
|
|
:display display-laptop)
|
|
(make-window-manager-named-workspace
|
|
:label "Chatting"
|
|
:kbd "h"
|
|
:display display-laptop)))
|
|
|
|
(window-manager-init :init-hook #'display-arrange-primary)
|