doom.d/+ui.el

35 lines
1.2 KiB
EmacsLisp
Raw Normal View History

2020-01-06 10:20:20 +01:00
;;; ~/.doom.d/+ui.el -*- lexical-binding: t; -*-
;; Appearance settings
;; Set Font and theme
2020-05-11 18:05:52 +02:00
(setq doom-font (font-spec :family "Iosevka Medium" :size 24)
2020-01-06 10:20:20 +01:00
doom-theme 'doom-nord)
;; Display Magit status in fullscreen
(after! magit
(setq magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1))
;; Match pdf-tools colors to the theme
(after! pdf-tools
(setq pdf-view-midnight-colors '("#ECEFF4" . "#2E3440"))
(add-hook 'pdf-tools-enabled-hook 'pdf-view-midnight-minor-mode))
;; Customize modeline
(setq doom-modeline-major-mode-icon t
doom-modeline-persp-name t
doom-modeline-buffer-encoding nil)
;; Hide direnv environment variables popup
(setq direnv-always-show-summary nil)
2020-07-01 18:55:30 +02:00
;; Disable LSP documentation popup
(after! lsp
(setq lsp-ui-doc-enable nil
lsp-signature-auto-activate nil))
2020-07-01 18:55:20 +02:00
;; Shrink minibuffer
(after! ivy
(setq ivy-height 10))
2020-07-19 20:54:56 +02:00
;; Switch between light and dark theme
(after! heaven-and-hell
(setq heaven-and-hell-themes
'((light . doom-nord-light)
(dark . doom-nord)))
(setq heaven-and-hell-load-theme-no-confirm t)
(map!
:leader "t t" 'heaven-and-hell-toggle-theme))
(add-hook 'after-init-hook 'heaven-and-hell-init-hook)