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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions config/src/shortcuts/action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ pub enum System {
PlayPrev,
/// Takes a screenshot
Screenshot,
/// Suspend the system
Suspend,
/// Opens the system default terminal
Terminal,
/// Lowers the volume of the active audio output
Expand Down
2 changes: 2 additions & 0 deletions data/system_actions.ron
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
PlayPrev: "playerctl previous",
/// Takes a screenshot
Screenshot: "cosmic-screenshot",
/// Suspend the system
Suspend: "systemctl suspend",
/// Opens the system default terminal
Terminal: "cosmic-term",
/// Lowers the volume of the active output device
Expand Down