nwg-piotr / nwg-wrapper

Wrapper to display a script output or a text file content on the desktop in sway or other wlroots-based compositors
MIT License
139 stars 8 forks source link

No option to specify workspace to draw nwg-wrapper on #26

Closed gnull closed 1 year ago

gnull commented 1 year ago

Nwg-wrapper seems to appear on the currently active workspace. How do I draw it on another one? Can I draw it on all workspaces?

Ivan

nwg-piotr commented 1 year ago

It opens on gtk-layer-shell, which means: it ignores workspaces. In the same way as panels/bars do. You can only select an output with the -o | --output argument.

gnull commented 1 year ago

Ah, makes sense. Sorry, I somehow missed the -o in the help text.

Would it be a good idea to maybe allow multiple outputs to be specified so we could use the second one if the first one goes offline? (Or is it a job for Kanshi?)

I use a docking station with two monitors a lot, so it would be really good if nwg-wrapper could jump between outputs as I dock/undock my laptop.

Ivan

On Mon, Sep 19, 2022 at 02:33:42PM -0700, Piotr Miller wrote:

It opens on gtk-layer-shell, which means: it ignores workspaces. In the same way as panels/bars do. You can only select an output with the -o | --output argument.

-- Reply to this email directly or view it on GitHub: https://github.com/nwg-piotr/nwg-wrapper/issues/26#issuecomment-1251585574 You are receiving this because you authored the thread.

Message ID: @.***>

nwg-piotr commented 1 year ago

Well, I can either specify an output or not. To put the wrapper on two outputs, we'd need two wrapper instances (windows).

gnull commented 1 year ago

No, what I mean is: keep it on output-1, but if it gets disconnected move to output-2. So maybe we cold specify multiple outputs in -o output-1,output-2,output-3?