ChanServ changed the topic of #river to: river - a dynamic tiling Wayland compositor || https://codeberg.org/river/river || channel logs: https://libera.irclog.whitequark.org/river/
mtm has quit [Ping timeout: 248 seconds]
mtm has joined #river
ramblurr has quit [Ping timeout: 252 seconds]
ramblurr has joined #river
pixavi has quit [Ping timeout: 248 seconds]
notzmv has quit [Remote host closed the connection]
elshize has joined #river
angry_vincent has joined #river
waleee has quit [Ping timeout: 265 seconds]
palanix_ has joined #river
palanix has quit [Ping timeout: 248 seconds]
palanix_ is now known as palanix
elshize has quit [Ping timeout: 276 seconds]
user21 has joined #river
user21 has quit [Remote host closed the connection]
sentry has quit [Ping timeout: 248 seconds]
Snetry has joined #river
user21 has joined #river
angry_vincent has quit [Remote host closed the connection]
angry_vincent has joined #river
pixavi has joined #river
angry_vincent has quit [Remote host closed the connection]
dagle1 has joined #river
dagle has quit [Ping timeout: 248 seconds]
angry_vincent has joined #river
pixavi has quit [Remote host closed the connection]
dagle1 is now known as dagle
Keeto has joined #river
Keeto has quit [Ping timeout: 272 seconds]
Keeto has joined #river
polykernel has joined #river
pixavi has joined #river
Keeto has quit [Quit: Lost terminal]
Keeto has joined #river
mekeor has joined #river
<mekeor> hi! i'd like to take a screenshot of a single view ("window"). i found a snippet that uses lswt to determine the position/region of the view that is then passed to grim. is this still state of the art? https://codeberg.org/JustineSmithies/river-dotfiles/src/commit/fc1287ac02fd52d20cc99b20370d490cabd89ead/.config/river/init#L141
<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> ah cool, it implements this https://wayland.app/protocols/ext-image-copy-capture-v1
<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
<lbiaggi> ifreund: hum, okay! thanks
Keeto has quit [Ping timeout: 246 seconds]
Guest24 has joined #river
Guest24 has quit [Client Quit]
notzmv has joined #river
elshize has joined #river
catman has quit [Quit: WeeChat 4.5.1]
catman has joined #river
elshize has quit [Quit: elshize]
elshize has joined #river