Added mango.desktop for the MangoWC
## Add `mango.desktop` file for Mango Wayland Compositor
### Summary
This Pull Request introduces a `.desktop` file for `mangowc`, a lightweight wlroots Wayland compositor inspired by `dwl`. The addition ensures that `mangowc` (binary: `mango`) is now easily launchable through display/login manager.
The `mango.desktop` file is located in the `example-units` directory to keep it alongside related configurations.
### Changes Introduced
1. Added a new `mango.desktop` file with the following content:
```ini
[Desktop Entry]
Name=Mango
Comment=A lightweight wlroots Wayland compositor inspired by dwl
Exec=mango
Type=Application
Keywords=wlroots;window;compositor;wayland
Categories=System;Utility;
```
### Motivation
The inclusion of this desktop entry improves usability in several ways:
- **Desktop Environment Integration**: Enables users to quickly launch `mangowc` from graphical menus instead of requiring terminal commands.
- **Improved Workflow in `uwsm`**: Allows `uwsm` to launch `mangowc` (Mango) seamlessly using the `uwsm start mango` command, ensuring better integration with the `uwsm-plugins`.
### Placement
The file is placed in the `example-units` directory to align with related configurations, ensuring proper organization and easier reference.
### Testing
- No testing was performed for this change.
### Instructions for Deployment
1. Copy the `mango.desktop` file into a system-wide location such as:
- `/usr/share/applications/`
2. Or place it in a user-specific location:
- `~/.local/share/applications/`
3. Once placed, ensure `mango` is properly added to the `$PATH` or adjust the `Exec` field in the `.desktop` file to point to the binary’s absolute path.
### Related Work
The main goal of this change was to ensure that `uwsm` can launch `mangowc` seamlessly using the `uwsm start mango` command. This `.desktop` file addition improves the overall experience of integrating `mangowc` into the `uwsm` ecosystem and complements the work done to include `mango` in `uwsm-plugins`.
### Screenshots (if applicable)
N/A
### Checklist
- [x] `.desktop` file created.
- [ ] Testing performed (no testing was done as part of this change).
- [x] Improves user experience and accessibility.
- [x] Aligns with project conventions (`example-units` directory).
---
Let me know if further changes are needed!
合并状态:未合并 关闭于 2026-02-06 1 条评论