tpamula / webextension-window-titler

Label your Firefox windows and profiles by modifying window title
https://addons.mozilla.org/en-GB/firefox/addon/window-titler/
MIT License
50 stars 11 forks source link

Set profile title only as window title #34

Open jack836 opened 4 years ago

jack836 commented 4 years ago

Thank you for the wonderful extension.

Currently the window title is set to be $Profile-title + $Tab-page-title. It will be nice to have it as $Profile-title alone, especially when creating custom workflows through a window manager. Is there any possibilities?

phistep commented 2 years ago

:+1: also applies to Window Titles.

UI idea: add a radio button opt to set the title exclusively to both of them. or maybe even better (albeit less user friendly): let user set a custom format string (maybe just as a third option)? Should this be a separate ticket?

.-  Window Title  ----------------------------------------.
| (o) Replace page title                                  |
| ( ) Window title tags                                   |
|     Opening tag [ <        ]  Closing tag [  >        ] |
'---------------------------------------------------------'
.-  Prfoile Title  ---------------------------------------.
| ( ) Replace page title                                  |
| (o) Opening tag [ {        ]  Closing tag [  }        ] ]
|     [ <${windowTitle}> ${activeTabTitle ]               |
'---------------------------------------------------------'
.-  Custom  ----------------------------------------------.
| Some description of Javascript template literals        |
| [x] Use custom format string                            |
| [ [${profileTitle}[] ${windowTitle}: ${activeTabTitle ] |
'---------------------------------------------------------'