diff --git a/config.org b/config.org index 0a761a5..85433d0 100644 --- a/config.org +++ b/config.org @@ -1,3 +1,4 @@ + #+AUTHOR: qorg11 #+TITLE: emacs config @@ -228,39 +229,6 @@ Including indent-buffer, which should not be called automatically on save." :init (add-hook 'after-init-hook #'global-flycheck-mode)) #+END_SRC -** theme - Emacs theme, among other things. - #+BEGIN_SRC emacs-lisp - (use-package laguna-theme - :ensure t - :init - (load-theme 'laguna t)) - - - (custom-set-faces - '(org-block - ((t (:background "#333"))))) - - ;; Org mode fixes - (let* ((variable-tuple (cond ((x-list-fonts "Terminus") '(:font "Terminus")) - ((x-list-fonts "Terminus") '(:font "Terminus")) - ((x-list-fonts "Terminus") '(:font "Terminus")) - ((x-family-fonts "Terminus") '(:family "Terminus")) - (nil (warn "Cannot find a Sans Serif Font. Install Source Sans Pro.")))) - (base-font-color (face-foreground 'default nil 'default)) - (headline `(:inherit default :weight bold :foreground ,base-font-color))) - - (custom-theme-set-faces 'user - `(org-level-8 ((t (,@headline ,@variable-tuple)))) - `(org-level-7 ((t (,@headline ,@variable-tuple)))) - `(org-level-6 ((t (,@headline ,@variable-tuple)))) - `(org-level-5 ((t (,@headline ,@variable-tuple)))) - `(org-level-4 ((t (,@headline ,@variable-tuple :height 1)))) - `(org-level-3 ((t (,@headline ,@variable-tuple :height 1.1)))) - `(org-level-2 ((t (,@headline ,@variable-tuple :height 1.3)))) - `(org-level-1 ((t (,@headline ,@variable-tuple :height 1.5)))) - `(org-document-title ((t (,@headline ,@variable-tuple :height 1.5 :underline nil)))))) - #+END_SRC ** AucTeX This basically opens zathura when compiling with auctex (C-c C-a) #+BEGIN_SRC emacs-lisp @@ -490,12 +458,18 @@ Including indent-buffer, which should not be called automatically on save." (setq dashboard-set-heading-icons t) (setq dashboard-set-file-icons t)) #+END_SRC -* Doom Emacs line - Doom-modeline, because emacs default bar sucks +* Line + Line, lol #+BEGIN_SRC emacs-lisp - (use-package doom-modeline - :ensure t - :init(doom-modeline-mode 1)) +(use-package spaceline + :ensure t + :config + (require 'spaceline-config) + (setq spaceline-buffer-encoding-abbrev-p nil) + (setq spaceline-line-column-p nil) + (setq spaceline-line-p nil) + (setq powerline-default-separator (quote arrow)) + (spaceline-spacemacs-theme)) #+END_SRC * Screenshot