8000 [#321] add ``top_window_title`` in user config by gswifort · Pull Request #326 · CEXT-Dan/PyRx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[#321] add top_window_title in user config #326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion pyrx/_host_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ def main() -> None:
# load pyrx onload files
pyrx_onload()
# pyrx_settings can be modified by onload file so there is getting it again
# pyrx_settings = get_pyrx_settings() # uncomment when needed
pyrx_settings = get_pyrx_settings()
if (title := pyrx_settings.top_window_title) is not None:
from pyrx.utils.wx import set_top_window_title

set_top_window_title(title)
# load REPLs
import pyrx._commands # noqa: F401
import pyrx.repl.repl_cmds # noqa: F401
Expand Down
6 changes: 5 additions & 1 deletion pyrx/config.py