postcasio / custom-title

Set your own template for Atom's title bar.
MIT License
27 stars 14 forks source link

Add fileIsModified boolean #11

Open Alexeenco opened 8 years ago

Alexeenco commented 8 years ago

This allows to have an indication of the current file having unsaved changes, like in Sublime Text.

Example template:

<%= fileName %><% if (fileIsModified) { %> • <% } %> - Atom
baincd commented 6 years ago

I submitted this as a pull request in the new project being maintained: https://github.com/pixilz/custom-window-title/pull/7