I have many atom windows open, often they are open folders to npm packages. Many of these windows are open to package.json files, or similarly named files. I want the window title bar to show the top-level folder name, not an absolute path “/foo/bar/…/” as this information gets cut off, leaving only the prefix which is the same across many open atom editor windows.
How could I customize the title bar?
Ideally I would want something like 1 folder level (the folder atom is open to), a dash (-) and then the name of the file that window has selected in the current tab (with no folder prefixes).
What I mean by a Title Bar: http://en.wikipedia.org/wiki/Title_bar
This should hopefully also customize the window selector in windows 8.1, (I think the title bar text is re-used).
It looks like I would have to change what get rendered into the html title element in the dom, where is the code that renders the title element in each document?
I think I found the method:
(I can’t put more links because I am new user):
how could I override this method in atom config?