From a6ce2ac2beb56bf20eef77f82fc6696ff9d8d658 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 25 Apr 2026 12:45:45 -0400 Subject: Set emacs frame title to file path --- .emacs.d/lisp/et-appearance.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.emacs.d/lisp/et-appearance.el b/.emacs.d/lisp/et-appearance.el index 5f30f18..3c0935c 100644 --- a/.emacs.d/lisp/et-appearance.el +++ b/.emacs.d/lisp/et-appearance.el @@ -20,6 +20,15 @@ ;; keybindings with evil mode. (setq display-line-numbers-type 'relative) +;; Set the emacs frame title to the full file path. +;; +;; Source - https://stackoverflow.com/a/3669681 +;; Posted by Jérôme Radix, modified by community. See post 'Timeline' for change history +;; Retrieved 2026-04-25, License - CC BY-SA 3.0 +(setq frame-title-format + (list (format "%s %%S: %%j " (system-name)) + '(buffer-file-name "%f" (dired-directory dired-directory "%b")))) + (use-package nord-theme :config (load-theme 'nord t)) -- cgit v1.2.3