Created
November 8, 2025 03:04
-
-
Save cornradio/93d97648ac398d00eaa76d039a7e526e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## 自定义--自动分类app | |
| window_rules: | |
| - commands: ['move --workspace web', 'focus --workspace web'] | |
| match: | |
| - window_process: { regex: "chrome" } | |
| - commands: ['move --workspace music', 'focus --workspace music'] | |
| match: | |
| - window_process: { regex: "cloudmusic" } | |
| - commands: ['move --workspace message', 'focus --workspace message'] | |
| match: | |
| - window_process: { regex: "Telegram|Weixin" } | |
| - commands: ['move --workspace code', 'focus --workspace code'] | |
| match: | |
| - window_process: { regex: "Code" } | |
| - commands: ['move --workspace shell', 'focus --workspace shell'] | |
| match: | |
| - window_process: { regex: "WindowsTerminal" } | |
| - window_process: { regex: "Termora" } | |
| - commands: ['ignore'] | |
| match: | |
| # Ignores any Zebar windows. | |
| - window_process: { equals: 'zebar|BCUT|explorer' } | |
| # Ignores picture-in-picture windows for browsers. | |
| - window_title: { regex: '[Pp]icture.in.[Pp]icture' } | |
| window_class: { regex: 'Chrome_WidgetWin_1|MozillaDialogClass' } | |
| # Ignore rules for various 3rd-party apps. | |
| - window_process: { equals: 'PowerToys' } | |
| window_class: { regex: 'HwndWrapper\[PowerToys\.PowerAccent.*?\]' } | |
| - window_process: { equals: 'PowerToys' } | |
| window_title: { regex: '.*? - Peek' } | |
| - window_process: { equals: 'Lively' } | |
| window_class: { regex: 'HwndWrapper' } | |
| - window_process: { equals: 'EXCEL' } | |
| window_class: { not_regex: 'XLMAIN' } | |
| - window_process: { equals: 'WINWORD' } | |
| window_class: { not_regex: 'OpusApp' } | |
| - window_process: { equals: 'POWERPNT' } | |
| window_class: { not_regex: 'PPTFrameClass' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment