diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2023-12-29 08:01:02 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2023-12-29 08:01:02 +0400 |
| commit | 56174b2c347b1de8f278fe1a2b0401ae5bfe528d (patch) | |
| tree | ccec31542a9af8ceef5fb6a29a6c55eb077aae56 /src/layout/monitor.rs | |
| parent | 310aa2b464d22a9b43309f237d2b3732eee03d77 (diff) | |
| download | niri-56174b2c347b1de8f278fe1a2b0401ae5bfe528d.tar.gz niri-56174b2c347b1de8f278fe1a2b0401ae5bfe528d.tar.bz2 niri-56174b2c347b1de8f278fe1a2b0401ae5bfe528d.zip | |
Add move-column-to-{first,last}
Diffstat (limited to 'src/layout/monitor.rs')
| -rw-r--r-- | src/layout/monitor.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/layout/monitor.rs b/src/layout/monitor.rs index 28d7921e..e87907cc 100644 --- a/src/layout/monitor.rs +++ b/src/layout/monitor.rs @@ -152,6 +152,14 @@ impl<W: LayoutElement> Monitor<W> { self.active_workspace().move_right(); } + pub fn move_column_to_first(&mut self) { + self.active_workspace().move_column_to_first(); + } + + pub fn move_column_to_last(&mut self) { + self.active_workspace().move_column_to_last(); + } + pub fn move_down(&mut self) { self.active_workspace().move_down(); } |
