aboutsummaryrefslogtreecommitdiff
path: root/+ui.el
diff options
context:
space:
mode:
authorMagdalena Szweda <roughlynamed@disroot.org>2026-09-18 20:01:57 +0200
committerMagdalena Szweda <hi@roughlynamed.net>2026-09-21 19:05:12 +0200
commit376841ef8ee82afcfcdbfe95d196931c0b5c931e (patch)
tree7174f178136a03a8443fc6bcb214d4c0e44c12be /+ui.el
parent8ee08f6c356d6aaf5ea9f9e644c126a683ca948f (diff)
so so much stuff
Diffstat (limited to '+ui.el')
-rw-r--r--+ui.el36
1 files changed, 32 insertions, 4 deletions
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))