aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2024-10-15 22:12:51 -0700
committerRaúl Benencia <id@rbenencia.name>2024-10-15 22:12:51 -0700
commitec1f59939498ef7ac94fd58ebac535cfe5a6af65 (patch)
tree50cdbd55349fd185af8398b368ba6c3ff608565f
parent7da66ba20085a57f659cfcea595bcf05c129fc62 (diff)
emacs: name main frame
-rw-r--r--.emacs.d/early-init.el3
-rw-r--r--.emacs.d/rul-emacs.org3
2 files changed, 6 insertions, 0 deletions
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
nihil fit ex nihilo