From 376841ef8ee82afcfcdbfe95d196931c0b5c931e Mon Sep 17 00:00:00 2001 From: Magdalena Szweda Date: Fri, 18 Sep 2026 20:01:57 +0200 Subject: so so much stuff --- +ui.el | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) (limited to '+ui.el') diff --git a/+ui.el b/+ui.el index baa26f5..eed34e9 100644 --- a/+ui.el +++ b/+ui.el @@ -1,13 +1,41 @@ ;;; $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 'doom-badger) +(setq doom-theme 'modus-vivendi) +;; (setq doom-theme 'tango) (setq display-line-numbers-type t) -(setq org-directory "~/notes/") - -(use-package mood-line +(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)) -- cgit v1.2.3