From b8a654a8752f57a43914aa2eee3d74d7426f2556 Mon Sep 17 00:00:00 2001 From: Dimitri Lozeve Date: Sun, 14 Jan 2024 12:04:04 +0100 Subject: [PATCH] Update fonts and display time in mode-line This is useful on macOS since I mostly use Emacs fullscreen and the system status bar is no longer visible by default. --- init.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index a9cbd67..0e8fc00 100644 --- a/init.el +++ b/init.el @@ -25,6 +25,10 @@ (setq frame-resize-pixelwise t) +;; Display time in mode-line +(setq display-time-24hr-format t) +(display-time-mode 1) + ;; Dired human readable sizes (setq dired-listing-switches "-Alh") @@ -60,12 +64,12 @@ '((c-mode . doxygen) (c++-mode . doxygen))) -(let ((my-font "Iosevka Fixed") +(let ((my-font "Iosevka Term") (my-height 130)) (set-face-attribute 'default nil :family my-font :height my-height) (set-face-attribute 'fixed-pitch nil :family my-font :height my-height)) -(set-face-attribute 'variable-pitch nil :family "Linux Libertine O" :height 140) +(set-face-attribute 'variable-pitch nil :family "Libertinus Serif" :height 160) ;; Better renaming rules for buffers with the same name (setq uniquify-buffer-name-style 'forward)