Set your own template for Atom's title bar. Uses underscore.js templates.
The following variables are available:
projectPath
projectName
filePath
fileInProject
relativeFilePath
fileName
gitHead
gitAdded
gitDeleted
devMode
safeMode
(always false, since the package will not be loaded in safe mode!)
Plus the atom
global, as usual.
Project and git variables always refer to the first path in your project.
The default template matches the regular Atom titlebar:
<%= fileName %><% if (projectPath) { %> - <%= projectPath %><% } %>
<%= fileName %><% if (projectPath) { %> - <%= projectPath %><% } %> - Atom <%= atom.getVersion() %>
<%= fileName %><% if (projectPath) { %> - <%= projectPath %><% if (gitHead) { %> [<%= gitHead %>]<% } %><% } %>