Last commit but only on first frame of server

This commit is contained in:
Chris Cochrun 2021-02-23 14:16:47 -06:00
parent 68dd87f068
commit e6ceb75530
2 changed files with 4 additions and 4 deletions

View file

@ -93,7 +93,7 @@ In order to have this config work on both my desktop with regular joe-schmoe mon
:height chris/default-font-size :weight 'regular)) :height chris/default-font-size :weight 'regular))
(if (daemonp) (if (daemonp)
(add-hook 'after-make-frame-functions (add-hook 'server-after-make-frame-functions
(lambda (frame) (lambda (frame)
(with-selected-frame frame (with-selected-frame frame
(chris/set-font-faces)))) (chris/set-font-faces))))
@ -161,7 +161,7 @@ Let's also turn on =recentf-mode=.
doom-modeline-bar-width 3 doom-modeline-bar-width 3
all-the-icons-scale-factor 0.9) all-the-icons-scale-factor 0.9)
(if (daemonp) (if (daemonp)
(add-hook 'after-make-frame-functions (add-hook 'server-after-make-frame-functions
(lambda (frame) (lambda (frame)
(with-selected-frame frame (with-selected-frame frame
(setq doom-modeline-icon t)))))) (setq doom-modeline-icon t))))))

View file

@ -33,7 +33,7 @@
:height chris/default-font-size :weight 'regular)) :height chris/default-font-size :weight 'regular))
(if (daemonp) (if (daemonp)
(add-hook 'after-make-frame-functions (add-hook 'server-after-make-frame-functions
(lambda (frame) (lambda (frame)
(with-selected-frame frame (with-selected-frame frame
(chris/set-font-faces)))) (chris/set-font-faces))))
@ -81,7 +81,7 @@
doom-modeline-bar-width 3 doom-modeline-bar-width 3
all-the-icons-scale-factor 0.9) all-the-icons-scale-factor 0.9)
(if (daemonp) (if (daemonp)
(add-hook 'after-make-frame-functions (add-hook 'server-after-make-frame-functions
(lambda (frame) (lambda (frame)
(with-selected-frame frame (with-selected-frame frame
(setq doom-modeline-icon t)))))) (setq doom-modeline-icon t))))))