deanoemcke / spaces

MIT License
66 stars 32 forks source link

Support for "Window Naming" #34

Open nathanmfast opened 3 years ago

nathanmfast commented 3 years ago

There is an awesome Experiment in Chrome called "Window Naming" that allows you to give a window a name so that it displays that name on the toolbar / task switcher / etc, rather than just showing the title of whatever tab you have selected within that window. You can see it here: chrome://flags/#window-naming

It'd be amazing if spaces could sync with this name when this experiment is enabled and the user has named the window. I'm not sure of the details of how the extension works, but I would imagine this effort would involve reading this name to use within Spaces and also updating the name of the window when the name changes in Spaces.

codedread commented 3 years ago

Chrome has now launched with this feature to name windows (In the Window menu). If this is available to Chrome extensions, it seems like this extension should just name the window to the name of the Space when opened.

KiLLeRRaT commented 2 years ago

I'd love it if it could rename my Windows too, that'd be awesome :)

Not sure if the window name is updatable through the Chrome Window API though, I had a very quick look and couldn't see anything? Does anyone else know how to update a Window Name via API?

JesKingDev commented 1 year ago

This is my biggest pet peeve, but it's a limitation of the Chrome API. I have a fork of this repo ready to implement the change once the Chrome API adds support. https://developer.chrome.com/docs/extensions/reference/windows/