Tweak window title format to my liking
This commit is contained in:
parent
7dfa8500af
commit
46ed400784
11
config.org
11
config.org
|
@ -141,6 +141,17 @@ To find more,
|
||||||
(map! :n [mouse-8] #'better-jumper-jump-backward
|
(map! :n [mouse-8] #'better-jumper-jump-backward
|
||||||
:n [mouse-9] #'better-jumper-jump-forward)
|
:n [mouse-9] #'better-jumper-jump-forward)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
*** Window title
|
||||||
|
I'd like to have just the buffer name, then if applicable the project folder
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq frame-title-format
|
||||||
|
'(""
|
||||||
|
"%b"
|
||||||
|
(:eval
|
||||||
|
(let ((project-name (projectile-project-name)))
|
||||||
|
(unless (string= "-" project-name)
|
||||||
|
(format " ● %s" project-name))))))
|
||||||
|
#+END_SRC
|
||||||
* Package loading
|
* Package loading
|
||||||
This file shouldn't be byte compiled.
|
This file shouldn't be byte compiled.
|
||||||
#+BEGIN_SRC emacs-lisp :tangle "packages.el"
|
#+BEGIN_SRC emacs-lisp :tangle "packages.el"
|
||||||
|
|
Loading…
Reference in a new issue