diff options
author | Timo Wilken | 2022-11-24 00:37:32 +0100 |
---|---|---|
committer | Timo Wilken | 2022-11-24 00:37:32 +0100 |
commit | e73bf18055bd25d5cf9d3b58114b289134dc7092 (patch) | |
tree | cfe0e6bb60ae406866264e8b285e316c20a16124 /emacs-init.el | |
parent | e2c24becafc21f474a9f84a668350e40ffe48d4c (diff) |
Set up Emacs smart-mode-line
Diffstat (limited to 'emacs-init.el')
-rw-r--r-- | emacs-init.el | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/emacs-init.el b/emacs-init.el index 6993f5fe..e6c2dfcc 100644 --- a/emacs-init.el +++ b/emacs-init.el @@ -59,6 +59,9 @@ (use-package diminish) ; for using :diminish later (use-package bind-key) ; for using :bind later +;; Some packages below have `:commands (...) :demand t'. +;; We need :commands for the byte-compiler, but we want to load the package immediately. + ;; Look and feel (set-face-attribute 'default nil :family "Hermit" :height 100) @@ -76,8 +79,13 @@ `(cursor ((default :background ,(tw/get-catppuccin-color "rosewater"))) t "Make the cursor \"rosewater\", as recommended by Catppuccin upstream, overriding catppuccin/emacs.")) -;; Some packages below have `:commands (...) :demand t'. -;; We need :commands for the byte-compiler, but we want to load the package immediately. +(use-package smart-mode-line + :commands (sml/setup) :demand t + :custom + (sml/no-confirm-load-theme t "Stop Emacs from constantly asking for user confirmation.") + (sml/mode-width 'right "Move the minor-mode list to the right of the modeline.") + (sml/theme 'respectful "Make `smart-mode-line' blend in with the active theme.") + :config (sml/setup)) ;; General editor behaviour. (use-package ivy |