Repository navigation
When opencode/hermes starts application it should open on source desktop screen. #16122
Replies: 2 comments
|
Hyprland already has a per-launch workspace option. Its current FAQ example uses this in a Lua launch callback: hl.exec_cmd("your-app", { workspace = "3 silent" })For the behavior you describe, the terminal/job launcher would need to capture its originating workspace when the job starts, retain that as job context, then use that destination for later GUI launches. Looking up the active workspace only when a background test finally opens its window loses that origin. That provides a building block for the feature request; the automatic propagation through opencode/Hermes and Wine/helper processes still needs implementation and validation. I haven't tested that chain, so I wouldn't call the snippet a complete workaround. |
|
I wrote up a working setup for this in #18513: windows open on the workspace they were launched from, even when the app finishes starting after you've switched away. It records the workspace at launch time and places the window when it maps. Turning on Hyprland's |
Uh oh!
There was an error while loading. Please reload this page.
When you are playing with multiple things at the same time, and have llm running in background running tests, sometimes launching wine etc it will always open it on the currently active desktop screen. It can be unnerving, and distracting.
It should be opening on the same source screen where the command to open came from.
ex. You are doing something, writing etc, and then pops another screen it interrupts you, and you interrupt it.

All reactions