summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-rw-r--r--tag-emacs/emacs.d/init.el10
1 files changed, 7 insertions, 3 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 4ddab84..772ccf6 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -1122,11 +1122,15 @@
 ;;;; Windows & Frames
 
 (setq frame-title-format
-      '(""
-        (:eval (capitalize invocation-name)) ": "
+      '((:eval (capitalize invocation-name)) ": "
+        (:eval (if (projectile-project-p)
+                   (concat (projectile-project-name) " ")
+                 ))
+        "("
         (:eval (if (buffer-file-name)
                    (abbreviate-file-name (buffer-file-name))
-                 "%b"))))
+                 "%b"))
+        ")"))
 
 (setq scroll-conservatively 100 ; Keep the cursor position when scrolling
       scroll-margin 1