mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 22:43:18 +00:00
Currently, Zed always places three fixed window buttons (Minimize, Maximize and Close) on the right side of the window in a fixed order ignoring any user configuration or desktop environment preference (like elementary). This PR adds support for GNOME-style layout strings (`minimize:close`). By default, we pull it from the gsettings portal, but we also allow manual configuration via `title_bar.button_layout` config key. <img width="1538" height="797" alt="image" src="https://github.com/user-attachments/assets/5db6bfa2-3052-4640-9228-95c37f318929" /> Closes #46512 I know it's a relatively large PR for my first one and I'm new to Rust. So, sorry if I've made any huge mistakes. I had just made it for personal use and then decided to try to clean it up and submit it. I've tested with different configs on Linux. Untested on other platforms, but should have no impact. If it's not up to par, it's okay, feel free to close :) Release Notes: - Added support for GNOME's window buttons configuration on Linux. --------- Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com> |
||
|---|---|---|
| .. | ||
| default.json | ||
| default_semantic_token_rules.json | ||
| initial_debug_tasks.json | ||
| initial_local_debug_tasks.json | ||
| initial_local_settings.json | ||
| initial_server_settings.json | ||
| initial_tasks.json | ||
| initial_user_settings.json | ||