Setting default window size and title #510
-
Was playing with this over the weekend. This is robust as heck and deep.. well done Dustin. Q: Where does one set the default window title? Right now it's daedalOS which is fine, but if I wanted to change it it looks like I have to change Q: Where does one set the default window size? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks very much, happy to hear you found it robust! The title is controlled in the As for things being config, I have almost nothing which could be considered a "config", other than session.json but that is mostly for storing context states. I plan one day to have something more configurable, but currently my project is both not configurable and very configurable, depending on how you view open source. Each window has it's own default size which is set in Regards |
Beta Was this translation helpful? Give feedback.
Thanks very much, happy to hear you found it robust!
The title is controlled in the
components\pages\Metadata.tsx
file. Line 133<title>{title}</title>
has the title and the variable is made on line 26const [title, setTitle] = useState(alias)
. If you want to update or set the title you can do it there. By default it is based onalias
which comes from the line you mention.As for things being config, I have almost nothing which could be considered a "config", other than session.json but that is mostly for storing context states. I plan one day to have something more configurable, but currently my project is both not configurable and very configurable, depending on how you view open source.
…