Replies: 1 comment
-
|
A graphical marking system would be nice, but also probably a lot of work to implement. Setting up bindings for moving windows without following them might be the quickest/simplest approach though. Something like: Mod+Shift+Ctrl+1 {move-window-to-workspace 1 focus=false; }
Mod+Shift+Ctrl+2 {move-window-to-workspace 2 focus=false; }
...etc...That way you can sort of quick fire windows to specific workspaces without the screen jumping around. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I often want to move a collection of windows to another workspace. This happens in two scenarios:
It's the second one that I most want to solve as it's more frequent. Is there an existing solution for this? So far the best solutions I've found is to start an interactive grab and then scroll or to use the overview to drag and drop some windows. I'd prefer something keyboard driven, though - mark a bunch of windows then move them.
I suppose I could bind "move to last workspace" and "move to second-to-last workspace" actions. I keep an empty one at the end, but I'd need to use the first binding on the first window and then switch to the second binding. Not ideal.
I could also move them all into one column and then unstack. So maybe "move column all the way left", "add to leftmost column", "move column to workspace" (this one is already bound), and "expel all windows from column". It loses any existing stacking state I have, though. Plus it's quite a few movements, and I don't think I'd use the first two for anything but this.
I could store the state outside Niri. There's probably some way to bind a command to send the ID of the current window to a script. So, mark each window that way, then have one final command which grabs all the windows stored this way and moves them to the current workspace. Add something to waybar showing the current status of the list. It misses having a visual display of which windows are selected, though.
There's one concept of window marking that I'm aware of, which is to mark windows for streaming. So "move all streaming windows to workspace" wouldn't be terrible. I am not usually using output streaming anyway and rarely want to move windows around when I am.
Beta Was this translation helpful? Give feedback.
All reactions