aboutsummaryrefslogtreecommitdiff
path: root/niri-ipc
diff options
context:
space:
mode:
Diffstat (limited to 'niri-ipc')
-rw-r--r--niri-ipc/src/lib.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs
index a1be86d2..f7251917 100644
--- a/niri-ipc/src/lib.rs
+++ b/niri-ipc/src/lib.rs
@@ -203,6 +203,12 @@ pub enum Action {
#[cfg_attr(feature = "clap", arg(last = true, required = true))]
command: Vec<String>,
},
+ /// Spawn a command through the shell.
+ SpawnSh {
+ /// Command to run.
+ #[cfg_attr(feature = "clap", arg(last = true, required = true))]
+ command: String,
+ },
/// Do a screen transition.
DoScreenTransition {
/// Delay in milliseconds for the screen to freeze before starting the transition.