<ghostbuster>
i didn't know github has a 'mark comment as off topic' feature
<ghostbuster>
is the 'stack of views' that river manages a stack in the computer science meaning?
<leon-p>
ghostbuster: it's a linear list. views can be inserted top or bottom (technically everwhere, but that is not exposed) and removed from everywhere.
<leon-p>
and also swapped randomly
<leon-p>
so no
<ghostbuster>
so then when a tag is 'focused' on an output, the subset of the stack with that tag is rendered to an output, and the order of those views in the subset is used as a cue to the layout generator?
<leon-p>
yep, that's about it
<leon-p>
although to be a bit more precise, the view does not need to match the output tag, the two are &'d and if the result is non-zero, the view get's rendered
<ghostbuster>
because you can focus more than one tag per output?
<leon-p>
yep
<leon-p>
and because views can also have more than one tag
<ghostbuster>
right, that's a feature i haven't even played with
<ghostbuster>
ifreund: you commented on that github issue that to have a single tagset across all outputs would require each view to have only one tag
<ghostbuster>
i don't understand why that would be the case
<ghostbuster>
is it to prevent a single view from being rendered on multiple outputs simultaneously?
<leon-p>
yes, that's the reason
<leon-p>
one view on multiple outputs and therefore in different layouts would be very awkward
<ghostbuster>
ah yeah
<leon-p>
also there are more general problems with a view on multiple outputs, as unfortunabley you'd have to use the same buffer for both. So which outputs DPI do you use for scaling? Which outputs colour configuration? WHich outputs refresh rate? etc...
<leon-p>
that capability is really only intented for moving a view from one output over to the next one with the mouse, I think
<ghostbuster>
yeah lots of weird edge cases to handle
<ghostbuster>
i guess you could always let the user choose - you can have a single tagset, or you can have multiple tags per window, but not both :)
<leon-p>
that kinda is the plan, actually, if evreything works out
<leon-p>
the layout generator eventually will absorb that functionality, so that everyone can implement it the way they like
<ghostbuster>
cool
hspak has quit [Quit: Ping timeout (120 seconds)]
hspak has joined #river
lgflorentino has joined #river
<lgflorentino>
I need some more help building river ... :(
<lgflorentino>
using ArchLinux
<lgflorentino>
wlroots in community is only 0.14 but the latest zig-wlroots requires 0.15
<lgflorentino>
I've built wlroots separately and installed it to a dir. I can't seem to configure LD_LIBRARY_PATH properly to pick up the 0.15 wlroots so
<leon-p>
lgflorentino: you can also just build an older version of river, might be easier
<leon-p>
featurewise there hasn't been any major additions recently I think
<lgflorentino>
older version of river i get errors about zig language features that are not available
<leon-p>
I see
<lgflorentino>
I can either wait for 0.15 to hit community which the archlinux channel didnt know when that would be
<leon-p>
installing wlroots to /usr/local/lib and setting `export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH` in .profile works for me
<lgflorentino>
or try and get river to build with the custom wlroots
<lgflorentino>
Ok. Thank you. I shall try it
lgflorentino has quit [Quit: leaving]
lgflorentino has joined #river
<lgflorentino>
leon-p: thanks that worked with the /usr/local/lib path
<lgflorentino>
I'm still not sure why it would not work with /opt/share/wlroots/lib
<lgflorentino>
some magic in the background using only standard pathing maybe
<leon-p>
maybe in the future we can setup the build system so that you can build and statically link a local copy of wlroots, so river no longer needs to depend on the version installed globally.
<lgflorentino>
ifreund: thanks for the tips a couple of days ago. Xwayland is enabled now and the IDE runs with River. no more segfault :)
<lgflorentino>
I had a look through the zig.build to see how to feed it the library but I'm not familiar with the build system so I wasn't able to figure it out
<lgflorentino>
It makes a bit more sense if it was checking globals
unixanarchist has quit [Remote host closed the connection]
unixanarchist has joined #river
unixanarchist has quit [Remote host closed the connection]
unixanarchist has joined #river
unixanarchist has quit [Remote host closed the connection]
unixanarchist has joined #river
Guest63 has joined #river
Guest63 has quit [Client Quit]
<novakane>
you need to use set-focused-tags 1, 2, 4, 8, 16, 32, 64 and so on
<novakane>
ah, they left
<tiosgz`>
but it's logged, innit?
<novakane>
yep
<novakane>
do people read the log though? I don't know :P
unixanarchist has quit [Remote host closed the connection]
unixanarchist has joined #river
snakedye has joined #river
unixanarchist has quit [Remote host closed the connection]
unixanarchist has joined #river
unixanarchist has quit [Remote host closed the connection]
unixanarchist has joined #river
Joshua has joined #river
Joshua has quit [Client Quit]
<leon-p>
elshize: since we talked about it, I am currently using that online editor I mentioned with vim binds. If you want an accurate report of how annoying it is to temporarily switch back from kak to vim, ask me in an hour.
<elshize>
leon-p: lol, ok
elshize has quit [Ping timeout: 256 seconds]
elshize has joined #river
waleee has joined #river
<angry_vincent>
is WAYLAN_DISPLAY in example init void-linux specific?
<angry_vincent>
so that where i added this variable on FreeBSD
<tiosgz`>
leon-p: so how is it?
<tiosgz`>
angry_vincent: WAYLAND_DISPLAY is the wayland equivalent of DISPLAY
<angry_vincent>
okey, is this required for river?, i do not need to set it for sway, for example
<tiosgz`>
you do not set it. it's set automatically by the compositor
<angry_vincent>
thanks
<tiosgz`>
if you set it, river would try to connect to the compositor at that socket (which is useful e.g. to run a nested session – but even for that you don't need to set it manually)
<leon-p>
tiosgz`: ok, but the online editors implementation of the ~ key is apparently buggy, it matched neither vim nor kaka dn constantly tripped me up :P
<leon-p>
*kak and
Misthios has quit [Quit: Misthios]
Misthios has joined #river
pkap has joined #river
<elshize>
leon-p: yeah, one thing about those online vim-mode editors is they're never a full implementation, there's always something that doesn't work
unixanarchist has quit [Remote host closed the connection]