Skip to content
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

Add check for COSMIC Epoch #13

Merged
merged 1 commit into from
Jan 3, 2025
Merged

Conversation

netraptor
Copy link
Contributor

@netraptor netraptor commented Oct 5, 2024

Adding a check for COSMIC Epoch.

On the current alpha for COSMIC Epoch, XDG_CURRENT_DESKTOP appears to be set to COSMIC, vs the legacy GNOME-based version of COSMIC where it appears to be set to pop:GNOME (on Pop!_OS at least). Since this is still an alpha, I'm not sure if that will change in the future, but this should work for now I think.

Also, unless I missed it, I didn't see an actual check for the legacy GNOME-based COSMIC. I didn't bother adding one since I'm not sure if it's different enough from base GNOME to warrant a separate check, but I thought I'd at least mention it.

EDIT: Apparently COSMIC is in the Freedesktop.org registered table, so I'm assuming this shouldn't change in the near future.

@demurgos
Copy link
Owner

demurgos commented Jan 3, 2025

Thank you for the PR. While looking at the changes I also noticed that there was no env var configured for the legacy cosmic DE. I'll open an issue to track it, but it may not be high priority. Your changes look good, I'll rebase, squash and add a CHANGELOG entry; then I'll release it as version 1.2.0.

@demurgos demurgos merged commit e497e81 into demurgos:main Jan 3, 2025
2 checks passed
demurgos added a commit that referenced this pull request Jan 3, 2025
- **[Feature]** Detect COSMIC Epoch. ([@netraptor](https://github.com/netraptor), [#13](#13))
- **[Fix]** Fix spelling when matching `GNOME-Classic`. ([@bash](https://github.com/bash), [#11](#11))
- **[Fix]** Remove thumbnails from Cargo package, for faster downloads. ([@bbb651](https://github.com/bbb651), [#12](#12))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants