;;; $DOOMDIR/+ui.el -*- lexical-binding: t; -*- (load! "+splash") (defun +splash-initial-buffer () (splash-screen) (get-buffer "*splash*")) (setq doom-fallback-buffer-name "*splash*" initial-buffer-choice #'+splash-initial-buffer) (defadvice! +splash-regenerate-if-missing-a (&rest _) :before #'doom-fallback-buffer (unless (get-buffer "*splash*") (splash-screen))) (add-to-list 'custom-theme-load-path "~/.config/doom/extra-themes/") (setq doom-font (font-spec :family "Berkeley Mono" :size 12.0)) (setq doom-theme 'modus-vivendi) ;; (setq doom-theme 'tango) (setq display-line-numbers-type t) (use-package! mood-line :config (mood-line-mode) :custom (mood-line-glyph-alist mood-line-glyphs-fira-code)) (defun my/split-window-dynamically () "Split the selected window, choosing orientation by its shape." (interactive) (select-window (if (> (window-total-width) (* 2 (window-total-height))) (split-window-right) (split-window-below)))) (map! :leader "w s" #'my/split-window-dynamically) (setq scroll-margin 3) (use-package! breadcrumb :defer t :hook (prog-mode . breadcrumb-mode) :config (breadcrumb-mode 1))