From e81f356908fe38ec45c74cf822dd102efbcf6457 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Wed, 20 Aug 2025 14:31:34 +0300 Subject: Add spawn-sh, spawn-at-startup-sh Our top 10 most confusing config moments --- niri-ipc/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'niri-ipc/src/lib.rs') 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, }, + /// 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. -- cgit