aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardofSprites <[email protected]>2024-11-28 17:54:57 -0500
committerBardofSprites <[email protected]>2024-11-28 17:54:57 -0500
commit877e23654c3abe6ac3f7d2fa6e353a30d9982f54 (patch)
treee5db733c8647d32fa058bd6d68e41a6cb76c5093
parent5f798526ea054b0b2cca5791d667a87bd4332a7d (diff)
initial tabs
-rw-r--r--init.el18
1 files changed, 18 insertions, 0 deletions
diff --git a/init.el b/init.el
index 9ba1dee..373a9d8 100644
--- a/init.el
+++ b/init.el
@@ -112,4 +112,22 @@ making an abbreviation to a function."
(load-library "bard-emacs-prog.el")
+(defun bard/setup-initial-buffers ()
+ "Set up initial tabs for Org Agenda, EMMS, and todo.org file."
+ (interactive)
+ (bard/default-agenda)
+ (emms)
+ (find-file "~/Notes/denote/todo.org")
+ (unless (bound-and-true-p tab-bar-mode)
+ (tab-bar-mode 1))
+ (tab-bar-new-tab)
+ (switch-to-buffer "*Org Agenda*")
+ (tab-bar-new-tab)
+ (switch-to-buffer " *EMMS Playlist*")
+ (tab-bar-new-tab)
+ (switch-to-buffer "*scratch*"))
+
+(bard/setup-initial-buffers)
+
(provide 'init)
+(put 'eshell 'disabled nil)