From 2b23c6df7cdd66909bcc725c3c4bf4d81337078d Mon Sep 17 00:00:00 2001 From: Curt Spark Date: Mon, 13 Apr 2020 00:39:27 +0100 Subject: [PATCH] Dracula Theme and Modeline configuration --- config.org | 34 ++++++++++++++++++++++++++++++---- init.el | 6 ++++-- 2 files changed, 34 insertions(+), 6 deletions(-) diff --git a/config.org b/config.org index d0d8d5c..ee78a43 100644 --- a/config.org +++ b/config.org @@ -19,6 +19,13 @@ Welcome to my Emacs configuration! #+BEGIN_SRC emacs-lisp (scroll-bar-mode -1) #+END_SRC +*** Theming +#+BEGIN_SRC emacs-lisp + (use-package dracula-theme + :ensure t + :init + (load-theme 'dracula t)) +#+END_SRC *** All The Icons #+BEGIN_SRC emacs-lisp (use-package all-the-icons @@ -32,13 +39,32 @@ All The Icons for Ivy/Counsel :init (all-the-icons-ivy-setup)) #+END_SRC -*** Telephone Line -Install the Telephone Line : +*** Mode Line +Mode Line Configuration : #+BEGIN_SRC emacs-lisp - (use-package telephone-line + (setq telephone-line-lhs + '((evil . (telephone-line-evil-tag-segment)) + (accent . (telephone-line-vc-segment + telephone-line-erc-modified-channels-segment + telephone-line-process-segment)) + (nil . (telephone-line-buffer-segment)))) + (setq telephone-line-rhs + '((nil . (telephone-line-misc-info-segment)) + (accent . (telephone-line-major-mode-segment)) + (evil . (telephone-line-airline-position-segment)))) + + (setq telephone-line-primary-left-separator 'telephone-line-flat + telephone-line-secondary-left-separator 'telephone-line-flat + telephone-line-primary-right-separator 'telephone-line-flat + telephone-line-secondary-right-separator 'telephone-line-flat) + (setq telephone-line-height 20 + telephone-line-evil-use-short-tag t) +#+END_SRC +#+BEGIN_SRC emacs-lisp + (use-package telephone-line :ensure t :init - (telephone-line-mode 1)) + (telephone-line-mode)) #+END_SRC *** Emacs Dashboard Install the Emacs Dashboard : diff --git a/init.el b/init.el index edf56a1..aa0ec1f 100644 --- a/init.el +++ b/init.el @@ -25,7 +25,9 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(custom-enabled-themes (quote (wombat))) + '(custom-safe-themes + (quote + ("3c83b3676d796422704082049fc38b6966bcad960f896669dfc21a7a37a748fa" default))) '(package-selected-packages (quote (org-bullets company flyspell-correct-ivy evil ivy which-key use-package)))) @@ -34,4 +36,4 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - ) + '(default ((t (:inherit nil :stipple nil :background "#282a36" :foreground "#f8f8f2" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 103 :width normal :foundry "ADBO" :family "Inconsolata Regular")))))