diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-05-07 22:06:43 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-05-07 22:19:11 +0400 |
| commit | 5248e534995dc21279cfd14651c994cd02353452 (patch) | |
| tree | a08bd585caad1febbd5be1ba018841c4cb842993 /niri-ipc | |
| parent | 9847a652af864109b3543e42d48087a38c0729ad (diff) | |
| download | niri-5248e534995dc21279cfd14651c994cd02353452.tar.gz niri-5248e534995dc21279cfd14651c994cd02353452.tar.bz2 niri-5248e534995dc21279cfd14651c994cd02353452.zip | |
Implement do-screen-transition action
Diffstat (limited to 'niri-ipc')
| -rw-r--r-- | niri-ipc/src/lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs index bf67acd7..e7489165 100644 --- a/niri-ipc/src/lib.rs +++ b/niri-ipc/src/lib.rs @@ -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. |
