new theme lmao
This commit is contained in:
parent
ee27ec5500
commit
f3c9869d0f
1 changed files with 21 additions and 23 deletions
44
config.org
44
config.org
|
@ -1,4 +1,4 @@
|
||||||
|
r
|
||||||
#+AUTHOR: qorg11
|
#+AUTHOR: qorg11
|
||||||
#+TITLE: emacs config
|
#+TITLE: emacs config
|
||||||
#+OPTIONS: toc:nil
|
#+OPTIONS: toc:nil
|
||||||
|
@ -234,38 +234,35 @@ Including indent-buffer, which should not be called automatically on save."
|
||||||
** theme
|
** theme
|
||||||
Emacs theme, among other things.
|
Emacs theme, among other things.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package seti-theme
|
(use-package modus-vivendi-theme
|
||||||
:ensure t
|
:ensure t
|
||||||
:init
|
:init
|
||||||
(load-theme 'seti t))
|
(load-theme 'modus-vivendi t))
|
||||||
|
|
||||||
|
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
'(org-block
|
'(org-block
|
||||||
((t (:background "#333")))))
|
((t (:background "#333")))))
|
||||||
|
|
||||||
;; Org mode fixes
|
;; Org mode fixes
|
||||||
(if (display-graphic-p)
|
(let* ((variable-tuple (cond ((x-list-fonts "Monospace") '(:font "Monospace"))
|
||||||
(let* ((variable-tuple
|
((x-list-fonts "Lucida Grande") '(:font "Lucida Grande"))
|
||||||
(cond ((x-list-fonts "IBM Plex Mono") '(:font "IBM Plex Mono"))
|
((x-list-fonts "Verdana") '(:font "Verdana"))
|
||||||
((x-list-fonts "IBM Plex Mono") '(:font "IBM Plex Mono"))
|
((x-family-fonts "Sans Serif") '(:family "Sans Serif"))
|
||||||
((x-list-fonts "IBM Plex Mono") '(:font "IBM Plex Mono"))
|
(nil (warn "Cannot find a Sans Serif Font. Install Source Sans Pro."))))
|
||||||
((x-list-fonts "IBM Plex Mono") '(:font "IBM Plex Mono"))
|
|
||||||
((x-family-fonts "IBM Plex Mono") '(:family "IBM Plex Mono"))
|
|
||||||
(nil (warn "Cannot find a Sans Serif Font. Install Source Sans Pro."))))
|
|
||||||
(base-font-color (face-foreground 'default nil 'default))
|
(base-font-color (face-foreground 'default nil 'default))
|
||||||
(headline `(:inherit default :weight bold :foreground ,base-font-color)))
|
(headline `(:inherit default :weight bold :foreground ,base-font-color)))
|
||||||
|
|
||||||
(custom-theme-set-faces
|
(custom-theme-set-faces 'user
|
||||||
'user
|
`(org-level-8 ((t (,@headline ,@variable-tuple))))
|
||||||
`(org-level-8 ((t (,@headline ,@variable-tuple))))
|
`(org-level-7 ((t (,@headline ,@variable-tuple))))
|
||||||
`(org-level-7 ((t (,@headline ,@variable-tuple))))
|
`(org-level-6 ((t (,@headline ,@variable-tuple))))
|
||||||
`(org-level-6 ((t (,@headline ,@variable-tuple))))
|
`(org-level-5 ((t (,@headline ,@variable-tuple))))
|
||||||
`(org-level-5 ((t (,@headline ,@variable-tuple))))
|
`(org-level-4 ((t (,@headline ,@variable-tuple :height 1))))
|
||||||
`(org-level-4 ((t (,@headline ,@variable-tuple :height 1))))
|
`(org-level-3 ((t (,@headline ,@variable-tuple :height 1.1))))
|
||||||
`(org-level-3 ((t (,@headline ,@variable-tuple :height 1.1))))
|
`(org-level-2 ((t (,@headline ,@variable-tuple :height 1.3))))
|
||||||
`(org-level-2 ((t (,@headline ,@variable-tuple :height 1.2))))
|
`(org-level-1 ((t (,@headline ,@variable-tuple :height 1.5))))
|
||||||
`(org-level-1 ((t (,@headline ,@variable-tuple :height 1.4))))
|
`(org-document-title ((t (,@headline ,@variable-tuple :height 1.5 :underline nil))))))
|
||||||
`(org-document-title ((t (,@headline ,@variable-tuple :height 2.0 :underline nil)))))))
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** AucTeX
|
** AucTeX
|
||||||
This basically opens zathura when compiling with auctex (C-c C-a)
|
This basically opens zathura when compiling with auctex (C-c C-a)
|
||||||
|
@ -360,7 +357,7 @@ Including indent-buffer, which should not be called automatically on save."
|
||||||
(defalias 'perl-mode 'cperl-mode)
|
(defalias 'perl-mode 'cperl-mode)
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** C
|
*** C*
|
||||||
This use c-eldoc mode so it prints the function's prototype in the
|
This use c-eldoc mode so it prints the function's prototype in the
|
||||||
minibuffer. Which is very useful since Irony works when it wants
|
minibuffer. Which is very useful since Irony works when it wants
|
||||||
to.
|
to.
|
||||||
|
@ -371,6 +368,7 @@ Including indent-buffer, which should not be called automatically on save."
|
||||||
(add-hook 'c-mode-hook 'c-turn-on-eldoc-mode))
|
(add-hook 'c-mode-hook 'c-turn-on-eldoc-mode))
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Beacon mode
|
** Beacon mode
|
||||||
's cool
|
's cool
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
|
Loading…
Add table
Reference in a new issue