[PR #1574] Regex support on workspace rules (config + cli) #1469

Open
opened 2026-01-05 14:55:23 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/LGUG2Z/komorebi/pull/1574
Author: @jonathanMelly
Created: 10/5/2025
Status: 🔄 Open

Base: masterHead: feature/regex_for_workspace_rule


📝 Commits (3)

  • 3de2e68 feat(regex): handle regex for workspace rules in static config
  • 870e075 feat(regex): add CLI support for regex workspace rules
  • 5df8523 fix(fmt): pass fmt

📊 Changes

5 files changed (+585 additions, -9 deletions)

View changed files

📝 komorebi/src/core/mod.rs (+4 -0)
📝 komorebi/src/monitor_reconciliator/mod.rs (+31 -0)
📝 komorebi/src/process_command.rs (+309 -0)
📝 komorebi/src/static_config.rs (+155 -9)
📝 komorebic/src/main.rs (+86 -0)

📄 Description

Hello,

Thank you for sharing your work on komorebi !
I was disappointed by regex not working in workspace rule and not being available in cli... So with a little help from ai (I am a rust beginner but experienced developer) I can propose the patch that I am using now to have a working setup for my needs (split eM Client Calendar and mail windows to different workspaces with specific regex to avoid conflicts).


🔄 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/1574 **Author:** [@jonathanMelly](https://github.com/jonathanMelly) **Created:** 10/5/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `feature/regex_for_workspace_rule` --- ### 📝 Commits (3) - [`3de2e68`](https://github.com/LGUG2Z/komorebi/commit/3de2e68ba82aa18bccd00cab6ac80a957cf57443) feat(regex): handle regex for workspace rules in static config - [`870e075`](https://github.com/LGUG2Z/komorebi/commit/870e07562fe1e90e30262b2e2fcf266baad37a48) feat(regex): add CLI support for regex workspace rules - [`5df8523`](https://github.com/LGUG2Z/komorebi/commit/5df85231356e69d71275abe6594d2d663f30e519) fix(fmt): pass fmt ### 📊 Changes **5 files changed** (+585 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `komorebi/src/core/mod.rs` (+4 -0) 📝 `komorebi/src/monitor_reconciliator/mod.rs` (+31 -0) 📝 `komorebi/src/process_command.rs` (+309 -0) 📝 `komorebi/src/static_config.rs` (+155 -9) 📝 `komorebic/src/main.rs` (+86 -0) </details> ### 📄 Description Hello, Thank you for sharing your work on komorebi ! I was disappointed by regex not working in workspace rule and not being available in cli... So with a little help from ai (I am a rust beginner but experienced developer) I can propose the patch that I am using now to have a working setup for my needs (split eM Client Calendar and mail windows to different workspaces with specific regex to avoid conflicts). --- <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:55:23 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#1469