Add niri msg stop-cast --session-id

This commit is contained in:
Ivan Molodetskikh
2026-01-15 13:11:48 +03:00
parent 9015ff8e36
commit 849788bb28
6 changed files with 27 additions and 2 deletions
+10
View File
@@ -898,6 +898,16 @@ pub enum Action {
},
/// Clear the dynamic cast target, making it show nothing.
ClearDynamicCastTarget {},
/// Stop a PipeWire screencast.
///
/// wlr-screencopy screencasts cannot currently be stopped via IPC.
StopCast {
/// Session ID of the screencast to stop.
///
/// If the session has multiple screencast streams, this will stop all of them.
#[cfg_attr(feature = "clap", arg(long))]
session_id: u64,
},
/// Toggle (open/close) the Overview.
ToggleOverview {},
/// Open the Overview.