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

config: Add Suspend system action #55

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

config: Add Suspend system action #55

wants to merge 1 commit into from

Conversation

ids1024
Copy link
Member

@ids1024 ids1024 commented Oct 28, 2024

Cosmic-idle needs to suspend the system. It would make sense if it used a system_action so the command is configurable (on non-systemd, BSD), and is also available as a key binding.

Adding this to system_actions.ron though breaks cosmic-comp keybindings, since adding an enum variant makes it fail to parse the file... we should change how that works so it doesn't break other bindings and can just ignore it, but serde doesn't seem to have a good way to do that. (Custom deserialize implementation for a SystemActions type? Not very convenient, but should be possible...)

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.

1 participant