hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.28k stars 801 forks source link

[FR] Add ability to duplicate a window on multiple workspaces #5323

Open luravoid opened 5 months ago

luravoid commented 5 months ago

Description

This feature is avaliable in dwm, awesome and xmonad and I find it very useful.

This link describes the feature well: https://hackage.haskell.org/package/xmonad-contrib-0.18.0/docs/XMonad-Actions-CopyWindow.html

It would be nice to have these 2 dispatchers:

1. copyactivewindow "workspace number" This would duplicate currently focused window to selected workspace: so for example copyactivewindow 8 would duplicate active window to workspace 8 so it would be visible on currently active workspace and workspace 8

2. copytoactiveworkspace "window parameter"

This dispatcher would copy window with a specified parameter like class, address or title to active workspace. So for example I have brave browser on workspace 2 and currently I'm on workspace 8. When I use dispatcher copytoactiveworkspace Brave-browser, then brave browser will be on workspace 2 and on workspace 8 simultaneously

modestbadger1773 commented 4 months ago

I could see this being useful across two different monitors. One with something I want to present and the second with the client (so that I can directly interact with it) and my notes beside it in a vim client.