aboutsummaryrefslogtreecommitdiff
path: root/.config/emacs/style.el
blob: 91c2a109926d8936381a053b291a1738b4a17c4a (plain)
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
39
40
41
42
43
44
45
46
47
;; get rid of ui
(menu-bar-mode -1)
(scroll-bar-mode -1)
(tool-bar-mode -1)

(blink-cursor-mode -1)

;; fonts - https://github.com/thep0y/monaco-nerd-font/releases/tag/v0.2.2
(let ((mono-spaced-font "Monaco Nerd Font Mono")
      (proportionately-spaced-font "MonacoLigaturized Nerd Font"))
  (set-face-attribute 'default nil :family mono-spaced-font :height 100)
  (set-face-attribute 'fixed-pitch nil :family mono-spaced-font :height 1.0)
  (set-face-attribute 'variable-pitch nil :family proportionately-spaced-font :height 1.0))

;; theme
(load-theme 'wombat)
(custom-set-faces
 '(default ((t (:inherit nil :stipple nil :background "#222323" :foreground "#f6f3e8" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 115 :width normal :family "Monaco"))))
 '(highlight ((t (:underline nil))))
 '(fringe ((t (:background "#222323"))))
 '(vertical-border ((t (:foreground "#303030"))))
 '(success ((t (:inherit (quote font-lock-keyword-face) :weight normal))))
 '(font-lock-keyword-face ((t (:foreground "#86b7dd"))))
 '(font-lock-string-face ((t (:foreground "#98dc5f"))))
 )

;; icons

(use-package nerd-icons
  :ensure t)

(use-package nerd-icons-completion
  :ensure t
  :after marginalia
  :config
  (add-hook 'marginalia-mode-hook #'nerd-icons-completion-marginalia-setup))

(use-package nerd-icons-corfu
  :ensure t
  :after corfu
  :config
  (add-to-list 'corfu-margin-formatters #'nerd-icons-corfu-formatter))

(use-package nerd-icons-dired
  :ensure t
  :hook
  (dired-mode . nerd-icons-dired-mode))