From e903ee71a58cc155564f0cb57260aa9a1f5a5acb Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 14 Oct 2016 14:48:40 -0700 Subject: [emacs] Change the font size and the frame's title. Use a bigger font for the main window, and a smaller one for the modeline. Change the title of the frame to contain the mode and the name of the file. --- emacs.d/lib/my-settings.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/emacs.d/lib/my-settings.el b/emacs.d/lib/my-settings.el index 2e7e331..ec5c4b6 100644 --- a/emacs.d/lib/my-settings.el +++ b/emacs.d/lib/my-settings.el @@ -47,7 +47,11 @@ ;; I don't want a frindge on the right (fringe-mode '(4 . 0)) -;; Set default font -(set-face-attribute 'default nil :family "Droid Sans Mono" :height 130 :weight 'normal :width 'normal) +;; frame title +(setq frame-title-format '( "%b" " [" (:eval mode-name) "]")) + +;; Set default font. Large font for the main window, but small font for the modeline +(set-face-attribute 'default nil :family "Menlo" :height 150 :weight 'normal :width 'normal) +(set-face-attribute 'mode-line nil :height 120) (provide 'my-settings) -- cgit 1.4.1