From ec1f59939498ef7ac94fd58ebac535cfe5a6af65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Tue, 15 Oct 2024 22:12:51 -0700 Subject: emacs: name main frame --- .emacs.d/early-init.el | 3 +++ .emacs.d/rul-emacs.org | 3 +++ 2 files changed, 6 insertions(+) (limited to '.emacs.d') diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el index 28ecb98..ae3e189 100644 --- a/.emacs.d/early-init.el +++ b/.emacs.d/early-init.el @@ -18,6 +18,9 @@ ;; No need for titlebar (modify-frame-parameters nil '((undecorated . t))) +;; Name frames to ease switching between them +(add-hook 'after-init-hook (lambda () (set-frame-name "main"))) + ;; Initialise installed packages, otherwise, basic functions are not ;; available during the initialization stage. (setq package-enable-at-startup t) diff --git a/.emacs.d/rul-emacs.org b/.emacs.d/rul-emacs.org index 48852ad..6770536 100644 --- a/.emacs.d/rul-emacs.org +++ b/.emacs.d/rul-emacs.org @@ -65,6 +65,9 @@ environment. ;; No need for titlebar (modify-frame-parameters nil '((undecorated . t))) + +;; Name frames to ease switching between them +(add-hook 'after-init-hook (lambda () (set-frame-name "main"))) #+end_src ** Miscellany -- cgit v1.2.3