custom-title

Set your own template for Atom's title bar.

postcasio

15,730

107

1.0.1

MIT

GitHub

custom-title package

Set your own template for Atom's title bar. Uses underscore.js templates.

The following variables are available:

Plus the atom global, as usual.

Project and git variables always refer to the first path in your project.

Examples

Default

The default template matches the regular Atom titlebar:

<%= fileName %><% if (projectPath) { %> - <%= projectPath %><% } %>

With Atom version

<%= fileName %><% if (projectPath) { %> - <%= projectPath %><% } %> - Atom <%= atom.getVersion() %>

With the current git branch

<%= fileName %><% if (projectPath) { %> - <%= projectPath %><% if (gitHead) { %> [<%= gitHead %>]<% } %><% } %>