zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.85k stars 3.06k forks source link

Allow for window actions to be set on the left of the window #20327

Open 2jammers opened 1 week ago

2jammers commented 1 week ago

Check for existing issues

Describe the feature

I would like there is added a setting (or done automatically) that changes the window actions to the left of the window instead of the right, to respect a user's custom theme and tweak settings.

Environment

Zed: v0.160.7 (Zed) OS: Linux X11 ubuntu 24.04 Memory: 31.3 GiB Architecture: x86_64 GPU: NVIDIA GeForce GTX 1660 SUPER || NVIDIA || 550.120

If applicable, add mockups / screenshots to help present your vision of the feature

image (this uses a custom theme)

JosephTLyons commented 4 days ago

Hey @2jammers, I'm not quite sure which items you are wanting to customize via a setting. Can you explain a bit more here?

bbb651 commented 4 days ago

He's talking about the close, maximize, minimize buttons, by default on all desktop environments in linux (except Pantheon, elementary os's DE) they're on the right (and their theme makes it look like the macOS traffic lights). It's customizable both on gnome and kde, on the gnome side it's through a gsetting, which also controls which buttons are visible (e.g. on gnome by default there's only a close button), that iirc is exposed under the Settings portal (in addition to the standardized settings it exposes a subset of gnome specific ones), I think it's be better to follow instead of a Zed setting, although I'm not sure about the kde side.