Skip to content

Commit

Permalink
config: Add Suspend system action
Browse files Browse the repository at this point in the history
  • Loading branch information
ids1024 committed Jan 28, 2025
1 parent 58ff27f commit 9ad7122
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/src/shortcuts/action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,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 @@ -29,6 +29,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

0 comments on commit 9ad7122

Please sign in to comment.