Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jplattel/open-note-to-window-title
Small Obsidian plugin that updates the window title with the current open note
https://github.com/jplattel/open-note-to-window-title
Last synced: 2 days ago
JSON representation
Small Obsidian plugin that updates the window title with the current open note
- Host: GitHub
- URL: https://github.com/jplattel/open-note-to-window-title
- Owner: jplattel
- Created: 2021-02-12T21:55:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-30T09:54:40.000Z (6 months ago)
- Last Synced: 2024-08-13T07:17:41.112Z (3 months ago)
- Language: TypeScript
- Size: 85.9 KB
- Stars: 65
- Watchers: 4
- Forks: 7
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- jimsghstars - jplattel/open-note-to-window-title - Small Obsidian plugin that updates the window title with the current open note (TypeScript)
README
# Active note to window title
This might be the smallest Obsidian plugin, but it adds the current open note to the window title, like so:
`Obsidian v0.11.0 - obsidian - testing/currently-open-note-for-project-xyz.md`
This is useful when you are tracking your application usage with [Timing](https://timingapp.com/?lang=en) (or any other app that uses window title). Otherwise it might prove useful for context what you're doing when switching with alt-tab if your application switcher allows for filtering like [contexts.app](https://contexts.co/).
## Templating
Through settings of this plugin it is possible to template the window title of the Obsidian app. You can specify the `{{filename}}`, `{{filepath}}`, `{{vault}}` or `{{workspace}}`. Frontmatter is also supported. For example if you have a file with the following frontmatter:
```yaml
category: "Testing"
```You can use the following template: `Obsidian - {{frontmatter.category}}`. This would result in a window title of `Obsidian - Testing` once you open the file. If a file doesn't have the corresponding frontmatter key, it is removed, resulting in just: `Obsidian -`.