glazewm icon indicating copy to clipboard operation
glazewm copied to clipboard

[Feature Request] Move all workspaces to another monitor at once

Open ShortArrow opened this issue 5 months ago • 0 comments

Motivation

I often run the move workspace --direction command multiple times to change all workspace.

It would be nice if could do this with one command.

Reational Issues

It has the potential to solve the following issues, Or reduce.

  • #432
  • #407
  • #342
  • #283
  • #723

Solution

Please consider implementing swap workspace --direction <left | right | up | down> command.

example

The monitors are arranged vertically in numerical order. If monitor 2 has focus before executing the command, expect the result to look something like this:

command

glazewm swap workspace --direction down

before command execution

- monitor 1
  - workspace 1
  - workspace 2
  - workspace 3
- monitor 2
  - workspace 4
  - workspace 5
  - workspace 6
- monitor 3
  - workspace 7
  - workspace 8
  - workspace 9

after command exection

- monitor 1
  - workspace 1
  - workspace 2
  - workspace 3
- monitor 3
  - workspace 7
  - workspace 8
  - workspace 9
- monitor 2
  - workspace 4
  - workspace 5
  - workspace 6

Alternatives considered

  • move taskbar --direction <left | right | up | down>
  • Add --all option flag
    • move workspace --all --direction <left | right | up | down>

ShortArrow avatar Sep 16 '24 06:09 ShortArrow