Add ef-themes and disable lines numbers by default
This commit is contained in:
parent
cb197f8f1a
commit
fc23dc235b
32
init.el
32
init.el
|
@ -5,7 +5,7 @@
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
'(initial-frame-alist '((fullscreen . maximized)))
|
'(initial-frame-alist '((fullscreen . maximized)))
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
'(dockerfile-mode dap-mode julia-ts-mode lsp-julia julia-mode marginalia vertico tide which-key use-package pyenv-mode flycheck exec-path-from-shell elpy doom-themes doom-modeline all-the-icons)))
|
'(ef-themes dockerfile-mode dap-mode julia-ts-mode lsp-julia julia-mode marginalia vertico tide which-key use-package pyenv-mode flycheck exec-path-from-shell elpy doom-themes doom-modeline all-the-icons)))
|
||||||
|
|
||||||
(require 'package)
|
(require 'package)
|
||||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
|
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
(scroll-bar-mode -1)
|
(scroll-bar-mode -1)
|
||||||
|
|
||||||
;;(set-face-attribute 'default nil :font "JetBrains Mono" :height 110)
|
;;(set-face-attribute 'default nil :font "Luculent" :height 110)
|
||||||
(set-face-attribute 'default nil :font "VictorMono Nerd Font Mono" :height 110)
|
(set-face-attribute 'default nil :font "VictorMono Nerd Font Mono" :height 110)
|
||||||
|
|
||||||
(set-default-coding-systems 'utf-8)
|
(set-default-coding-systems 'utf-8)
|
||||||
|
@ -216,7 +216,7 @@ Exempt major modes are defined in `display-line-numbers-exempt-modes'."
|
||||||
(member major-mode display-line-numbers-exempt-modes))
|
(member major-mode display-line-numbers-exempt-modes))
|
||||||
(display-line-numbers-mode)))
|
(display-line-numbers-mode)))
|
||||||
|
|
||||||
(global-display-line-numbers-mode)
|
;; (global-display-line-numbers-mode)
|
||||||
|
|
||||||
;; theming starts here:
|
;; theming starts here:
|
||||||
|
|
||||||
|
@ -224,6 +224,32 @@ Exempt major modes are defined in `display-line-numbers-exempt-modes'."
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
(load-theme 'modus-operandi-tinted t)
|
(load-theme 'modus-operandi-tinted t)
|
||||||
|
;; (load-theme 'modus-vivendi t)
|
||||||
|
|
||||||
|
(use-package ef-themes
|
||||||
|
:ensure t)
|
||||||
|
|
||||||
|
(setq ef-themes-to-toggle '(ef-day ef-autumn))
|
||||||
|
|
||||||
|
(setq ef-themes-headings ; read the manual's entry or the doc string
|
||||||
|
'((0 . (variable-pitch light 1.9))
|
||||||
|
(1 . (variable-pitch light 1.8))
|
||||||
|
(2 . (variable-pitch regular 1.7))
|
||||||
|
(3 . (variable-pitch regular 1.6))
|
||||||
|
(4 . (variable-pitch regular 1.5))
|
||||||
|
(5 . (variable-pitch 1.4)) ; absence of weight means `bold'
|
||||||
|
(6 . (variable-pitch 1.3))
|
||||||
|
(7 . (variable-pitch 1.2))
|
||||||
|
(t . (variable-pitch 1.1))))
|
||||||
|
|
||||||
|
(setq ef-themes-mixed-fonts t
|
||||||
|
ef-themes-variable-pitch-ui t)
|
||||||
|
|
||||||
|
;; (mapc #'disable-theme custom-enabled-themes)
|
||||||
|
|
||||||
|
;; (ef-themes-select 'ef-autumn)
|
||||||
|
|
||||||
|
;; theming stops here
|
||||||
|
|
||||||
(use-package magit
|
(use-package magit
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
Loading…
Reference in New Issue