mirror of
https://github.com/YaLTeR/niri.git
synced 2025-10-06 00:23:14 +02:00
added move window to monitor by id
This commit is contained in:
committed by
Ivan Molodetskikh
parent
50a99f6356
commit
8737067af5
@@ -475,8 +475,18 @@ pub enum Action {
|
||||
MoveWindowToMonitorPrevious {},
|
||||
/// Move the focused window to the next monitor.
|
||||
MoveWindowToMonitorNext {},
|
||||
/// Move the focused window to a specific monitor.
|
||||
/// Move a window to a specific monitor.
|
||||
#[cfg_attr(
|
||||
feature = "clap",
|
||||
clap(about = "Move the focused window to a specific monitor")
|
||||
)]
|
||||
MoveWindowToMonitor {
|
||||
/// Id of the window to move.
|
||||
///
|
||||
/// If `None`, uses the focused window.
|
||||
#[cfg_attr(feature = "clap", arg(long))]
|
||||
id: Option<u64>,
|
||||
|
||||
/// The target output name.
|
||||
#[cfg_attr(feature = "clap", arg())]
|
||||
output: String,
|
||||
|
Reference in New Issue
Block a user