aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/early-init.el
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 /.emacs.d/early-init.el
parent7da66ba20085a57f659cfcea595bcf05c129fc62 (diff)
emacs: name main frame
Diffstat (limited to '.emacs.d/early-init.el')
-rw-r--r--.emacs.d/early-init.el3
1 files changed, 3 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)
nihil fit ex nihilo