From ffb39773e7ba0b0a56e4c0c6e0c70c187b8c8f75 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Wed, 12 Aug 2026 08:14:41 -0700 Subject: emacs: tab-bar only in terminals frame --- .emacs.d/early-init.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.emacs.d/early-init.el') diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el index a0eaedb..9be4302 100644 --- a/.emacs.d/early-init.el +++ b/.emacs.d/early-init.el @@ -10,10 +10,16 @@ ;; Mutter/X11 here and can leave a large blank strip at the bottom. (add-to-list 'default-frame-alist '(fullscreen . maximized)) +(defun rul-startup-terminals-frame () + "Give this frame its own tab bar, then open a terminal in it." + (set-frame-parameter nil 'tab-bar-lines 1) + (set-frame-parameter nil 'tab-bar-lines-keep-state t) + (multi-vterm)) + ;; Extend this list from to add more startup frames. (defvar rul-startup-frames '(("main" . nil) - ("terminals" . multi-vterm)) + ("terminals" . rul-startup-terminals-frame)) "Startup frame specifications. Each entry has the form (NAME . SETUP). NAME is the frame name. SETUP is an optional function or interactive command called in that frame.") -- cgit v1.2.3