<mekeor>
(in particular i was wondering if i can avoid lswt and jq.)
mtm has quit [Ping timeout: 260 seconds]
Keeto has quit [Ping timeout: 252 seconds]
mtm has joined #river
<leon-p>
mekeor: that snippet does not determine the geometry of the focused window, lswt never exposed that info because none of the wayland protocols expose it
<leon-p>
in general, taking a screenshot of a single window by capturing the entire scene and cropping it is very ugly and hacky
<leon-p>
there will be support in wlroots for directly grabbing a screen-copy of a single window
<leon-p>
in the future
<leon-p>
which has the advantage of also being able to capture windows which are hidden
<leon-p>
you can use grim with slurp to manually select a screen region in the meantime
<mekeor>
leon-p: oh, i just tried out the snippet and it does not work because there are no .outputs properties
<mekeor>
alright, thank you, leon-p :)
<leon-p>
that's true as well, I removed that property since the newer protocol for listing windows no longer exposes it :)
<leon-p>
I might add it back if it turns up again, but those protocols are still in the nit-picky bike-shedding phase
<mekeor>
i was expecting this to work because video-capturing single views (via desktop portal) already works on my stack :D
<mekeor>
i'm still content with having moved to wayland and river; this is just my second non-functional edge-case :)
<mekeor>
would the roadmap now be like this?: implement ext-image-copy-capture-v1 in zig bindings to wlroots; implement the feature in river; implement support for the protocol in grim
<vyivel>
there's one extra step before all this: add toplevel source support in wlroots
pixavi has quit [Ping timeout: 246 seconds]
<LarstiQ>
vyivel: did I understand correctly that needs a bit more agreement than where we are right now?
<vyivel>
not sure what you mean by agreement here but wlroots has logic for capturing outputs and needs logic for capturing toplevels
pixavi has joined #river
Keeto has joined #river
waleee has joined #river
ninewise has quit [Ping timeout: 252 seconds]
ninewise has joined #river
pixavi has quit [Remote host closed the connection]
coreopen has quit [Ping timeout: 252 seconds]
coreopen has joined #river
<LarstiQ>
right, and my impression was that it was considered out of scope for the previous PR so that it wouldn't be held up by more back and forth on toplevel
<LarstiQ>
but very much from the sidelines so take that with a heaping of salt
polykernel has left #river [#river]
angry_vincent has quit [*.net *.split]
user21 has quit [*.net *.split]
glenneth has quit [*.net *.split]
bwbuhse has quit [*.net *.split]
bitblt has quit [*.net *.split]
andyrtr has quit [*.net *.split]
alebastr has quit [*.net *.split]
user21 has joined #river
glenneth has joined #river
angry_vincent has joined #river
bwbuhse has joined #river
bitblt has joined #river
andyrtr has joined #river
alebastr has joined #river
Guest95 has joined #river
Guest95 has left #river [#river]
TheAnachron has quit [Remote host closed the connection]
waleee has quit [Remote host closed the connection]
TheAnachron has joined #river
waleee has joined #river
<lbiaggi>
Hello, how can I tell river to spawn a process on a certain monitor?
<ifreund>
lbiaggi: you can use an output rule, see the rules section in the riverctl man page