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.
This commit is contained in:
Dimitri Lozeve 2024-01-14 12:04:04 +01:00
parent 305c05b224
commit b8a654a875

View file

@ -25,6 +25,10 @@
(setq frame-resize-pixelwise t) (setq frame-resize-pixelwise t)
;; Display time in mode-line
(setq display-time-24hr-format t)
(display-time-mode 1)
;; Dired human readable sizes ;; Dired human readable sizes
(setq dired-listing-switches "-Alh") (setq dired-listing-switches "-Alh")
@ -60,12 +64,12 @@
'((c-mode . doxygen) '((c-mode . doxygen)
(c++-mode . doxygen))) (c++-mode . doxygen)))
(let ((my-font "Iosevka Fixed") (let ((my-font "Iosevka Term")
(my-height 130)) (my-height 130))
(set-face-attribute 'default nil :family my-font :height my-height) (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 '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 ;; Better renaming rules for buffers with the same name
(setq uniquify-buffer-name-style 'forward) (setq uniquify-buffer-name-style 'forward)