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
51 stars 11 forks source link

Feature Request: Preset titles that are togglable through Extension Shortcuts #63

Open Mojavve opened 1 year ago

Mojavve commented 1 year ago

One feature I think would be incredibly valuable, especially to those who like to customize their userChrome.css, would be the ability to have a number of preset titles which could be triggered through Extension Shortcut keybinds. This would allow the ability to trigger different CSS customization to Firefox's UI through keyboard shortcuts.

So for example, if I had a preset title called [Tabless] and if I set it to toggle when pressing F1, I could then use something like

:root[titlepreface="[Tabless]"] #TabsToolbar
{
    /* CSS options here */
}

in my userChrome.css to hide my tabs.

My specific use case aside, I think it would also be helpful for people who just consistently use the same titles repeatedly and would like to easily apply them without having to use profiles.

If this idea is out of the scope of this project I apologize however I think it would give a whole new set of functionality for the plugin, using features that are mostly already developed.