Remove early-init
Update what's shown on dashboard
This commit is contained in:
parent
9088026c8d
commit
5987eb3395
|
@ -1,17 +0,0 @@
|
||||||
;;; early-init.el --- Emac s early initialization for Crafted Emacs (optional) -*- lexical-binding: t; -*-
|
|
||||||
;;; Commentary:
|
|
||||||
;;
|
|
||||||
;;; Code:
|
|
||||||
(add-to-list 'package-archives '("stable" . "https://stable.melpa.org/packages/"))
|
|
||||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
|
|
||||||
|
|
||||||
(setq package-archive-priorities '(("gnu" . 99)
|
|
||||||
("nongnu" . 80)
|
|
||||||
("stable" . 70)
|
|
||||||
("melpa" . 0)))
|
|
||||||
|
|
||||||
(when (require 'package nil :noerror) (package-refresh-contents))
|
|
||||||
|
|
||||||
(provide 'early-init)
|
|
||||||
|
|
||||||
;;; early-init.el ends here
|
|
|
@ -11,6 +11,17 @@
|
||||||
(when (and custom-file (file-exists-p custom-file))
|
(when (and custom-file (file-exists-p custom-file))
|
||||||
(load custom-file nil 'nomessage))
|
(load custom-file nil 'nomessage))
|
||||||
|
|
||||||
|
;; Setup package-archives and priorities
|
||||||
|
(add-to-list 'package-archives '("stable" . "https://stable.melpa.org/packages/"))
|
||||||
|
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
|
||||||
|
|
||||||
|
(setq package-archive-priorities '(("gnu" . 99)
|
||||||
|
("nongnu" . 80)
|
||||||
|
("stable" . 70)
|
||||||
|
("melpa" . 0)))
|
||||||
|
|
||||||
|
(when (require 'package nil :noerror) (package-refresh-contents))
|
||||||
|
|
||||||
;; Add custom modules to the `load-path'
|
;; Add custom modules to the `load-path'
|
||||||
(add-to-list 'load-path (expand-file-name "modules" user-emacs-directory))
|
(add-to-list 'load-path (expand-file-name "modules" user-emacs-directory))
|
||||||
|
|
||||||
|
|
|
@ -7,25 +7,10 @@
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(defconst crafted-startup-ascii-logo
|
|
||||||
'(" .000000. " ;; Make sure 1st line is as wide as widest
|
|
||||||
" .0. .0."
|
|
||||||
" .00. .00."
|
|
||||||
" .000cl. .lc000."
|
|
||||||
".0 0."
|
|
||||||
"0. .o0000o. .0"
|
|
||||||
" 00 .0' '0. 00"
|
|
||||||
" 00 .0 0. 00"
|
|
||||||
" HHHHH HHHHHHHHHHHH HHHHH"
|
|
||||||
"HHHH HHH HHHHHHHHHHHHHH HHHH"
|
|
||||||
" HHHHHH HHHHHHHHH HHHHHHHH"
|
|
||||||
" HHH HHHH HHHHHHHHH HHHH"
|
|
||||||
" HHH HHHHHH"
|
|
||||||
" HHHHH HH"))
|
|
||||||
|
|
||||||
(setq use-dialog-box nil
|
(setq use-dialog-box nil
|
||||||
display-line-numbers 'relative
|
display-line-numbers 'relative
|
||||||
fill-column 80
|
fill-column 80
|
||||||
|
dashboard-icon-type 'nerd-icons
|
||||||
dashboard-set-heading-icons t
|
dashboard-set-heading-icons t
|
||||||
dashboard-set-file-icons t
|
dashboard-set-file-icons t
|
||||||
dashboard-set-navigator t
|
dashboard-set-navigator t
|
||||||
|
@ -34,12 +19,9 @@
|
||||||
dashboard-projects-backend 'project-el
|
dashboard-projects-backend 'project-el
|
||||||
dashboard-projects-switch-function 'project-switch-project
|
dashboard-projects-switch-function 'project-switch-project
|
||||||
dashboard-projects-show-base t
|
dashboard-projects-show-base t
|
||||||
dashboard-items '((recents . 5)
|
dashboard-items '((recents . 5) (projects . 5) (agenda . 5))
|
||||||
(bookmarks . 5)
|
dashboard-banner-ascii
|
||||||
(projects . 5)
|
(concat " .000000. \n"
|
||||||
(agenda . 5)
|
|
||||||
(registers . 5))
|
|
||||||
dashboard-banner-ascii (concat " .000000. \n"
|
|
||||||
" .0. .0. \n"
|
" .0. .0. \n"
|
||||||
" .00. .00. \n"
|
" .00. .00. \n"
|
||||||
" .000cl. .lc000. \n"
|
" .000cl. .lc000. \n"
|
||||||
|
|
Loading…
Reference in a new issue