ifreund changed the topic of #river to: river - a dynamic tiling wayland compositor || https://github.com/riverwm/river || channel logs: https://libera.irclog.whitequark.org/river/
snakedye has quit [Read error: Connection reset by peer]
snakedye has joined #river
entenel has left #river [#river]
londoed_ has quit [Read error: Connection reset by peer]
londoed_ has joined #river
notzmv has quit [Ping timeout: 250 seconds]
waleee has quit [Ping timeout: 260 seconds]
notzmv has joined #river
notzmv has quit [Ping timeout: 260 seconds]
notzmv has joined #river
snakedye has quit [Ping timeout: 240 seconds]
s1dsq has left #river [#river]
talismanick has joined #river
<talismanick> Is anyone running river on Void right now? What are the steps you took to get it to run?
<novakane> talismanick: you have problem to make it run?
<talismanick> novakane: Yeah
<talismanick> something about a broken pipe
<talismanick> 1 sec, my VM's not being cooperative in letting me SSH in
<novakane> master version or river from the void packages repo?
<talismanick> from the repo
<novakane> note that the void packages is fairly outdated, that should not causes problem launching it though
<novakane> but yeah if you can share the error message you have it would be better
<talismanick> aha! I ran it as "river 2> error.txt"
<talismanick> and it printed far more to the file than it did in stdout
<talismanick> ah, missing drivers are the likely culprit
<talismanick> because a Wayland install doesn't pull in all the dependencies like Xorg does
<novakane> did you installed mesa-dri?
<talismanick> yeah
<novakane> it looks like a drivers problem yeah, not sure which one you need though
<novakane> also you need to use the example config from river 0.1.1 not the from the master
<talismanick> novakane: Is it under some /usr/share subdirectory
<talismanick> ?
<talismanick> ty
<novakane> looks like you need something related to qxl, which I imagine is because you use a VM
<talismanick> To clarify, river launches and lets me move the mouse around on a teal background, but that's it
<talismanick> The only result in the repos for "qxl" is the xorg driver, which didn't fix the issue :(
<novakane> oh but that the thngs you get when you launch river by default
<novakane> you can't launch any app after? with the config init above?
<novakane> also is the log message there is something about WLR_RENDERER_ALLOW_SOFTWARE so maybe try to launch like `WLR_RENDERER_ALLOW_SOFTWARE=1 river`
<talismanick> oh, you're right
<nor[m]> <talismanick> "To clarify, river launches and..." <- I was stuck with that for a while before I realized the init wasn't executable. (Just in case)
<talismanick> nor[m] already fixed that lol
<talismanick> novakane: prefixing it with setting the variable results in a different spew of errors
<novakane> ah
<novakane> also the bestway to launch river is using `dbus-run-session river`
<novakane> although having river with just a teal background is normal by default
<talismanick> results of "dbus-session-run river 2> ~/error.txt"
<talismanick> Okay, I'll try it on the base system again
notzmv has quit [Ping timeout: 240 seconds]
pkap has joined #river
<novakane> not sure what's the problem :/
<talismanick> I'm surprised it doesn't work in a VM
<novakane> never tried it tbh
<talismanick> Usually I'd expect the opposite - everyone testing software in a VM and running into problems on actual hardware
<talismanick> idk if it's true or not, but I've overheard that some FreeBSD devs only use it in a VM and use MacOS themselves
<talismanick> anyways
vaivis has joined #river
talismanick has quit [Remote host closed the connection]
notzmv has joined #river
talismanick has joined #river
talismanick has quit [Client Quit]
talismanick has joined #river
<talismanick> Well, it's done
<talismanick> I'm typing this from inside PGTK Emacs, running on river
<talismanick> first things first: what's the equivalent of "setxkbmap -option ctrl:nocaps"?
<talismanick> I think there was an envvar note in the wiki, IIRC
<novakane> yeah looks at river(1) man page, ENVIRONMENT section
<pkap> talismanick: You need to set `XKB_DEFAULT_OPTIONS`
<talismanick> Do I just throw that in init and reload it?
<novakane> no, in your shell rc
<pkap> You need to set it prior to starting river.
<novakane> I have this `export XKB_DEFAULT_OPTIONS=caps:escape_shifted_capslock` in .zprofile for example
talismanick has quit [Remote host closed the connection]
talismanick has joined #river
<talismanick> Ah, finally
<talismanick> keybindings I can work with
<talismanick> Still need to get yambar working and figure out how to remap the keys roughly to how they are in sxhkd by default, but other than that, it all seems to be working
<talismanick> thanks to all here for the help thus far
<novakane> welcome in river world then :P
lxsameer has joined #river
pkap has quit [Quit: Client closed]
pkap has joined #river
talismanick has quit [Ping timeout: 250 seconds]
snakedye has joined #river
notzmv has quit [Ping timeout: 250 seconds]
vaivis has quit [Ping timeout: 246 seconds]
<pkap> novakane: I played around a bit with the PR you mentioned a couple days ago.
<pkap> rebased on master and updated to wlroots 0.15. Thinking about the problem you encountered now.
<novakane> ah that's nice of you, hope it wasn't too bad to rebased
<pkap> no was a simple rebase. Not much conflicts :)
<novakane> cool, I think overall the implementation is not too bad, just the keyboard grab that I can't figured out
<pkap> It seem the main difference between sway's and your implementation so far is what is described in this comment? https://github.com/swaywm/sway/blob/3caf6914fefe24ae6191484abb47f8c1ce7a42e2/sway/input/keyboard.c#L514
<novakane> pkap: yep, that's what I can't make works with the current implementation of the keyboard in river
<novakane> that's why I thought maybe your rewrite would help
<pkap> Hm, unfortunately my PR didn't change much in this regard XD
<novakane> haha well I didn't follow closely enough your PR lol
<pkap> I don't really understand this yet. In the sway comment I mentioned above, why would the IM only grab the release event and not the press?
<novakane> the commend is kinda confusing yeah, I think it only send the pressed event no?
<pkap> Yeah. Ah maybe this is for the case when the IM is started *in between* key press and release? So that the the don't get "split up".
<pkap> s/the the/the two/
<novakane> yeah I imagine you should not send a release event between 't' and 'a' if 'ta' makes a character for example
<pkap> But where would the (single) release event come from in this case? The IM would also had received the associated press, no?
<novakane> I have no idea, only thing I could think is having a list of all keys pressed and release everything at once?
<novakane> this part of the IME really lost me tbh
<pkap> I'm lost too :D Why would we need that list?
<novakane> I don't know, storing the pressed keys to know what to release, but maybe that tottaly useless lol
<pkap> I don't think we need this but chances are I'm wrong :D
<pkap> What modifiers does IME need?
<pkap> Currently I cannot use CTRL-
<ifreund> Pushed my waylock rewrite to master: https://github.com/ifreund/waylock
<ifreund> now I don't maintain any more rust code :)
<pkap> Currently I cannot use CTRL-C anymore to interrupt because the IME also swallows the ctrl modifier I think.
<novakane> ifreund: nice, did you merged the new function in zig-wayland too then?
<ifreund> oh, nope
<ifreund> probably should do that
<novakane> pkap: hmm not sure for modifiers, I would assume you need to have some though, like shift
<novakane> ifreund: would be nice, so I'll merge my branchs in all my projects too
<leon-p> ifreund: are you interested in a patch for it to use viewporter if available and 1px buffers?
<ifreund> leon-p: sure! that would save me the work. I want it to always use viewporter though, no fallbacks or alternate code paths
<leon-p> fair, should be done tonight
<ifreund> i think we could also allocate all 3 pixels we need for the 3 colors on output creation and reuse those from that point onwarnds
<novakane> what is the advantage of viewporter?
<ifreund> er, on configure I mean
<ifreund> novakane: instead of sending 1080x1920 pixels of the same color over to the server, you send 1 pixel
<ifreund> and tell it to scale it up to the full dimensions of the output
<novakane> oh okay that nice, I read the protocol because I was interested in using it but I didn't understood it like that
<novakane> so what do you do with multiple color?
<ifreund> this is just one small thing that viewporter allows, it not really the whole point of the protocol
<ifreund> the point is to allow clients to leverage compositor-side cropping/scaling/transforms of sufaces in general
<novakane> yeah but told like that it made me understand one of the use case that I didn't get
<ifreund> one thing you can leverage compositor side scaling for is scaling up a 1px buffer to a buffer the size of the full output
<novakane> does it is more resource heavy on the client side then?
<ifreund> nope, less resource usage all around for this use-case
<novakane> allright, nice
<leon-p> viewporter is basically what attach_buffer should have been
<novakane> I don't remember seeing any clients using it
<ifreund> firefox does :P
<novakane> hmm yeah I'm gonna forget about viewporter then... :P
<novakane> ifreund: what's the expat license?
snakedye has quit [Read error: Connection reset by peer]
snakedye has joined #river
<novakane> oh, TIL
gwizon has joined #river
snakedye has quit [Ping timeout: 276 seconds]
snakedye has joined #river
gwizon has quit [Quit: leaving]
snakedye has quit [Ping timeout: 276 seconds]
snakedye has joined #river
<ifreund> novakane: zig-wayland changes are on master now by the way
<novakane> cool, thank you
<novakane> ah you choose to return os.E I see, that nice
talismanick has joined #river
pkap has quit [Ping timeout: 252 seconds]
amnesiacsardine has joined #river
<amnesiacsardine> Hello there! I'm getting into making an Eww bar. Does someone happened to have a tags script to share?
<amnesiacsardine> I didn't find any riverctl commands to get active tags and such. Calling wl_display directly is out of my league at the moment
amnesiacsardine has quit [Client Quit]
amnesiacsardine has joined #river
<novakane> amnesiacsardine: you probably need something like that https://gitlab.com/snakedye/ristate
notzmv has joined #river
<amnesiacsardine> novakane Oh well it was on the wiki! Sorry about that
<amnesiacsardine> Thank you!
<novakane> np
notzmv has quit [Ping timeout: 250 seconds]
vaivis has joined #river
amnesiacsardine has quit [Quit: Client closed]
pkap has joined #river
pkap has quit [Quit: Client closed]
snakedye_real has joined #river
lxsameer has quit [Ping timeout: 276 seconds]
talismanick has quit [Ping timeout: 240 seconds]
waleee has joined #river
mannerism has joined #river
talismanick has joined #river
vaivis has quit [Ping timeout: 240 seconds]
vaivis has joined #river
talismanick has quit [Ping timeout: 250 seconds]
snakedye_real has quit [Quit: snakedye_real]
lxsameer has joined #river
ringo_ has joined #river
ringo_ is now known as help
help is now known as amnesiacsardine
amnesiacsardine has quit [Quit: Lost terminal]
snakedye_real has joined #river
snakedye_real has quit [Quit: snakedye_real]
snakedye has quit [Ping timeout: 246 seconds]
snakedye has joined #river
snakedye has quit [Ping timeout: 240 seconds]
snakedye has joined #river
ghostbuster has quit [Quit: WeeChat 3.0]
elshize has quit [Ping timeout: 272 seconds]
elshize has joined #river
snakedye has quit [Ping timeout: 240 seconds]
snakedye has joined #river
snakedye has quit [Ping timeout: 240 seconds]
snakedye has joined #river
talismanick has joined #river
snakedye has quit [Read error: Connection reset by peer]
londoed_ has quit [Read error: Connection reset by peer]
londoed_ has joined #river
londoed_ has quit [Read error: Connection reset by peer]
londoed_ has joined #river
londoed_ has quit [Remote host closed the connection]
londoed_ has joined #river