Option to set window title format

In previous versions of Obsidian, the window title was showing the vault name first. In 1.0, the currently opened note name is shown first, then the vault name, then obsidian name and version. While it might be helpful for someone working with multiple windows within the same vault, it is a hindrance to productivity when using multiple vaults.

For example, I’m working with multiple vaults, each one using dated notes. When working with a large number of windows open, it becomes impossible to differentiate between the open vaults:

To help with this, I propose a new option in the Appearance settings, called Window title format. On the top of my head, I can see two ways of implementing this:

The simple way

A list of two choices, giving the user the option to choose either “Display vault name first” / “Vault name - Note name”, or “Display note name first” / “Note name - Vault name”. If there are any additional information added to the window title in the future, more options could be added to the list.

The advanced way

A list of checkboxes, which can be reordered by the user, and elements can be turned on or off. Right now there would be three checkboxes - “Vault name”, “Note name”, “Obsidian version”, and the user could reorder them as they like. The app would display all the checked checkboxes in the window title, separated with the dash (e.g. “Vault name - Note name - Obsidian v.1.0.0”).

In the backend, the list of checkboxes would be saved as a formatting string, which could be easily put in the window title. Perhaps it could even be available to the user to edit themselves, instead of handling the checkbox list. As an example, here’s how foobar2000 audio player handles this:


It looks a bit cluttered, because of the large amount of options and conditional formatting, but since within Obsidian it would use just the three variables (vault name, note name, app version) without any special formatting, it would look clean enough:

%vault_name% - %note_name% - %app_version%
1 Like

Yea, I’d opt for using the freeform text field approach. It’s easier to code than an orderable checkbox list, and it allows users to write custom separators between elements.

1 Like

Same here, but some people prefer to use the GUI, and Obsidian is an app with more emphasis on the looks than freeform usability. I’d think they’d rather implement a GUI version than just the text field.

Also, a side question to the devs / mods - why was this topic moved to “Plugins ideas” from “Feature requests”? I get that the developers don’t have the time to respond to every feature request, but just throwing away my suggestion without any information feels like you were throwing out the trash. It isn’t the first time it happened, too, so to me it just feels like I’m not welcome in this community. I love Obsidian, and I’d love it to become even better than it is, but I don’t think I’ll be participating in these forums any more in the future.

I have the same use case and wish this feature would be provided by Obsidian, by default.
Especially, the current/default title “… Obsidian v1.1.9” is with no value to me - I don’t care about which version I have installed, but I would like to immediately differentiate between my vaults.

I found a plugin, which could do the job: GitHub - jplattel/open-note-to-window-title: Small Obsidian plugin that updates the window title with the current open note

This plugin is trully helpful