postcasio / custom-title

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

Additional example #3

Open oktayacikalin opened 9 years ago

oktayacikalin commented 9 years ago

Very nice extension you have here :).

Perhaps you also want to add this example: <%= projectName %><% if (relativeFilePath) { %> - <%= relativeFilePath %><% } else { %> - <%= fileName %><% } %> - Atom

Thanks!

gkrawiec commented 9 years ago

@theblacklion Your example is exactly the reason I was looking for a title bar package.

Thanks

gerwitz commented 8 years ago

Mine is very similar: <% if (projectName) { %><%= projectName %> - <%= relativeFilePath %><% } else { %><%= fileName %><% } %><% if (gitHead) { %> [<%= gitHead %>]<% } %>

richardfrost commented 8 years ago

Please! These examples definitely helped me!

<% if (fileInProject) { %><%= projectName %> - <%= relativeFilePath %><% } else { %><%= filePath %><% } %>

DerZyklop commented 7 years ago

I came here to post my solution. Its the exact same like @richardfrost's ❤

But i prefer to have relativeFilePath before projectName, because projectName is less important.

Please @postcasio. add these to the readme.