Implement do-screen-transition action

This commit is contained in:
Ivan Molodetskikh
2024-05-07 22:06:43 +04:00
parent 9847a652af
commit 5248e53499
7 changed files with 207 additions and 0 deletions
+6
View File
@@ -84,6 +84,12 @@ pub enum Action {
#[cfg_attr(feature = "clap", arg(last = true, required = true))]
command: Vec<String>,
},
/// Do a screen transition.
DoScreenTransition {
/// Delay in milliseconds for the screen to freeze before starting the transition.
#[cfg_attr(feature = "clap", arg(short, long))]
delay_ms: Option<u16>,
},
/// Open the screenshot UI.
Screenshot,
/// Screenshot the focused screen.