aboutsummaryrefslogtreecommitdiffstats
path: root/.emacs.d/modules/et-appearance.el
blob: 3e9c0358e96f67e49f2013550d34b8e971ab42b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
; Remove the menu bar (File Edit Options...)
(menu-bar-mode -1)

; Remove the tool bar (if using the GUI)
(tool-bar-mode -1)

; Skip the welcome screen
(setq inhibit-startup-screen t)

;; Rather than an auditory noise, use a visual
;; flash instead.
(setq visible-bell t)

;; Start emacs in full screen
;;
;; The t parameter appends to the hook, instead of prepending.
;; This means it'll be run after other hooks that might fiddle
;; with the frame size.
(add-hook 'window-setup-hook 'toggle-frame-maximized t)

;; Setup our monospace font
(set-face-attribute 'default nil
		    :font (symbol-value 'et-monospace-font)
		    :height (symbol-value 'et-monospace-font-size))

;; Use line numbers globally
;; (setq display-line-numbers-type 'relative)
(global-display-line-numbers-mode 1)

(use-package nord-theme
  :config
  (load-theme 'nord t))

(use-package nerd-icons)
(use-package doom-modeline
  :init (doom-modeline-mode 1))

(provide 'et-appearance)