Skip to content

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...)

@Pandapip1
Copy link

Bump! This seems like a no-brainer.

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.

4 participants