diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-28 10:13:30 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-30 20:12:37 +0300 |
| commit | ad50dd21fea1912b9e21fb66a22fce517dac3aee (patch) | |
| tree | 20d7f1a1d6db2a843a33a551d5895bcc86cf0f38 /niri-ipc | |
| parent | 8b0cb0bb57112bd15bc7ac04e6952d857dadcbca (diff) | |
| download | niri-ad50dd21fea1912b9e21fb66a22fce517dac3aee.tar.gz niri-ad50dd21fea1912b9e21fb66a22fce517dac3aee.tar.bz2 niri-ad50dd21fea1912b9e21fb66a22fce517dac3aee.zip | |
Add move-window-to-floating/tiling actions
Diffstat (limited to 'niri-ipc')
| -rw-r--r-- | niri-ipc/src/lib.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs index bf66d3a8..c3878941 100644 --- a/niri-ipc/src/lib.rs +++ b/niri-ipc/src/lib.rs @@ -454,6 +454,22 @@ pub enum Action { #[cfg_attr(feature = "clap", arg(long))] id: Option<u64>, }, + /// Move the focused window to the floating layout. + MoveWindowToFloating { + /// Id of the window to move. + /// + /// If `None`, uses the focused window. + #[cfg_attr(feature = "clap", arg(long))] + id: Option<u64>, + }, + /// Move the focused window to the tiling layout. + MoveWindowToTiling { + /// Id of the window to move. + /// + /// If `None`, uses the focused window. + #[cfg_attr(feature = "clap", arg(long))] + id: Option<u64>, + }, /// Toggles the focus between the floating and the tiling layout. SwitchFocusBetweenFloatingAndTiling {}, } |
