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

wip: dbus activation & single instance support #203

Merged
merged 3 commits into from
Nov 18, 2023
Merged

Conversation

wash2
Copy link
Contributor

@wash2 wash2 commented Nov 13, 2023

This implements org.freedesktop.Application for cosmic apps.

@wash2
Copy link
Contributor Author

wash2 commented Nov 14, 2023

pop-os/cosmic-settings#95 demonstrates usage for now but I will update the design demo as well.

@wash2 wash2 marked this pull request as ready for review November 14, 2023 23:44
@wash2 wash2 force-pushed the single-instance branch 3 times, most recently from 02300b8 to 0882ecc Compare November 17, 2023 15:06
refactor: activation action with new trait for subcommand and args

refactor: libcosmic can handle sending the activation request

cleanup
refactor(applet): connect to privileged socket if available

cleanup
@wash2
Copy link
Contributor Author

wash2 commented Nov 17, 2023

I guess I can also test this with the launcher, app library, and workspaces. They could probably use this instead of their dbus subscriptions.

@wash2
Copy link
Contributor Author

wash2 commented Nov 17, 2023

pop-os/cosmic-launcher#72 has an example of usage with the launcher

@wash2 wash2 merged commit c38dc6d into master Nov 18, 2023
9 checks passed
@wash2 wash2 deleted the single-instance branch November 18, 2023 00:29
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