diff --git a/.config/doom/config.el b/.config/doom/config.el index c8f62ce..2ab3bbe 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -322,6 +322,12 @@ List of keybindings (SPC h b b)") :desc "Toggle line highlight globally" "H" #'global-hl-line-mode :desc "Toggle truncate lines" "t" #'toggle-truncate-lines)) +(custom-set-faces + '(markdown-header-face ((t (:inherit font-lock-function-name-face :weight bold :family "variable-pitch")))) + '(markdown-header-face-1 ((t (:inherit markdown-header-face :height 1.8)))) + '(markdown-header-face-2 ((t (:inherit markdown-header-face :height 1.4)))) + '(markdown-header-face-3 ((t (:inherit markdown-header-face :height 1.2))))) + (setq minimap-window-location 'right) (map! :leader (:prefix ("t" . "toggle") diff --git a/.config/doom/config.org b/.config/doom/config.org index 93528a9..138d585 100644 --- a/.config/doom/config.org +++ b/.config/doom/config.org @@ -35,6 +35,7 @@ - [[#ivy-posframe][IVY-POSFRAME]] - [[#ivy-keybindings][IVY KEYBINDINGS]] - [[#line-settings][LINE SETTINGS]] +- [[#markdown][MARKDOWN]] - [[#minimap][MINIMAP]] - [[#modeline][MODELINE]] - [[#mouse-support][MOUSE SUPPORT]] @@ -654,6 +655,17 @@ I set comment-line to 'SPC TAB TAB' which is a rather comfortable keybinding for :desc "Toggle truncate lines" "t" #'toggle-truncate-lines)) #+END_SRC +* MARKDOWN + +#+begin_src emacs-lisp +(custom-set-faces + '(markdown-header-face ((t (:inherit font-lock-function-name-face :weight bold :family "variable-pitch")))) + '(markdown-header-face-1 ((t (:inherit markdown-header-face :height 1.8)))) + '(markdown-header-face-2 ((t (:inherit markdown-header-face :height 1.4)))) + '(markdown-header-face-3 ((t (:inherit markdown-header-face :height 1.2))))) + +#+end_src + * MINIMAP A minimap sidebar displaying a smaller version of the current buffer on either the left or right side. It highlights the currently shown region and updates its position automatically. Be aware that this minimap program does not work in Org documents. This is not unusual though because I have tried several minimap programs and none of them can handle Org. @@ -779,6 +791,7 @@ You can set the Org heading levels to be different font sizes. So I choose to h '(org-level-4 ((t (:inherit outline-4 :height 1.1)))) '(org-level-5 ((t (:inherit outline-5 :height 1.0)))) ) + #+end_src ** Org-export diff --git a/.config/doom/packages.el b/.config/doom/packages.el index 594ec9f..b29bdcc 100644 --- a/.config/doom/packages.el +++ b/.config/doom/packages.el @@ -86,3 +86,4 @@ (package! beacon) (package! clippy) (package! minimap) +(package! olivetti) diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index 5f7a95a..7c2a805 100755 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -65,11 +65,11 @@ fade-exclude = [ # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) # inactive-opacity = 0.8 -inactive-opacity = 1.0; +inactive-opacity = 1.00 # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # frame-opacity = 1.0 -frame-opacity = 0.7; +frame-opacity = 1.00 # Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0) # menu-opacity = 1.0 @@ -85,7 +85,7 @@ dropdown_menu = { opacity = 0.8; } inactive-opacity-override = false; # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) -active-opacity = 1.0; +active-opacity = 1.00 # Dim inactive windows. (0.0 - 1.0, defaults to 0.0) # inactive-dim = 0.0