diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-08-20 14:31:34 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-08-20 14:43:50 +0300 |
| commit | e81f356908fe38ec45c74cf822dd102efbcf6457 (patch) | |
| tree | 5c5263b210a0755f48b1511cc1ff8c2697e095a6 /niri-ipc/src | |
| parent | 1013147ba3154788cb16ffc32b8155fd2008dfa3 (diff) | |
| download | niri-e81f356908fe38ec45c74cf822dd102efbcf6457.tar.gz niri-e81f356908fe38ec45c74cf822dd102efbcf6457.tar.bz2 niri-e81f356908fe38ec45c74cf822dd102efbcf6457.zip | |
Add spawn-sh, spawn-at-startup-sh
Our top 10 most confusing config moments
Diffstat (limited to 'niri-ipc/src')
| -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 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. |
