[PR #459] [MERGED] feat(swap-workspaces-monitor): command to swap focused monitor workspaces with another monitor #933

Closed
opened 2026-01-05 14:53:28 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/LGUG2Z/komorebi/pull/459
Author: @Yusuf007R
Created: 6/9/2023
Status: Merged
Merged: 6/24/2023
Merged by: @LGUG2Z

Base: masterHead: feature/swap-monitors-workspaces


📝 Commits (2)

  • 0965654 feat(swap-workspaces-monitor): command to swap focused monitor workspaces with another monitor
  • fd5df8c refactor(wm): renaming SwapWorkspacesToMonitor to SwapWorkspacesWithMonitor

📊 Changes

5 files changed (+101 additions, -0 deletions)

View changed files

📝 komorebi-core/src/lib.rs (+1 -0)
📝 komorebi/src/monitor.rs (+4 -0)
📝 komorebi/src/process_command.rs (+3 -0)
📝 komorebi/src/window_manager.rs (+86 -0)
📝 komorebic/src/main.rs (+7 -0)

📄 Description

Basically this commit adds a command that allows you to swap two monitors, well it actually swaps the workspaces between the monitors.

Sorry if the main logic is a bit weird, I'm basically new to rust, like I did a bit of rust last year on this project, then I got really busy and stopped doing any rust, so I'm still having a lot of trouble with the borrow checker

if you have any suggestions of how to make it better/cleaner please let me know


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/LGUG2Z/komorebi/pull/459 **Author:** [@Yusuf007R](https://github.com/Yusuf007R) **Created:** 6/9/2023 **Status:** ✅ Merged **Merged:** 6/24/2023 **Merged by:** [@LGUG2Z](https://github.com/LGUG2Z) **Base:** `master` ← **Head:** `feature/swap-monitors-workspaces` --- ### 📝 Commits (2) - [`0965654`](https://github.com/LGUG2Z/komorebi/commit/09656542b1ccdfae814ff79e0b44cd7163bf290f) feat(swap-workspaces-monitor): command to swap focused monitor workspaces with another monitor - [`fd5df8c`](https://github.com/LGUG2Z/komorebi/commit/fd5df8ca28b005c836ce0cd86d98d981895422d2) refactor(wm): renaming SwapWorkspacesToMonitor to SwapWorkspacesWithMonitor ### 📊 Changes **5 files changed** (+101 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `komorebi-core/src/lib.rs` (+1 -0) 📝 `komorebi/src/monitor.rs` (+4 -0) 📝 `komorebi/src/process_command.rs` (+3 -0) 📝 `komorebi/src/window_manager.rs` (+86 -0) 📝 `komorebic/src/main.rs` (+7 -0) </details> ### 📄 Description Basically this commit adds a command that allows you to swap two monitors, well it actually swaps the workspaces between the monitors. Sorry if the main logic is a bit weird, I'm basically new to rust, like I did a bit of rust last year on this project, then I got really busy and stopped doing any rust, so I'm still having a lot of trouble with the borrow checker if you have any suggestions of how to make it better/cleaner please let me know --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-01-05 14:53:28 +01:00
adam closed this issue 2026-01-05 14:53:28 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#933