ifreund changed the topic of #river to: river - a dynamic tiling wayland compositor || https://github.com/ifreund/river || channel logs: https://libera.irclog.whitequark.org/river/
waleee has quit [Ping timeout: 272 seconds]
dbuckley has quit [Ping timeout: 245 seconds]
dbuckley has joined #river
Guest3579 has joined #river
<Guest3579> Just rejoined (the riverwm person), if someone answered while I was gone please do send their response
<ifreund> I guess the main thing currently missing in river compared to sway is input device configuration
<ifreund> leon-p has started an implementation of that though :)
<ifreund> Guest3579: ^
<Guest3579> Interesting!
<Guest3579> I heard that it was also missing damage-tracking, not sure about it though
<Guest3579> ifreund ^
<ifreund> Guest3579: river has basic yes/no damage tracking but does not yet have full damage tracking
<Guest3579> Good to know!
<ifreund> if nothing changes, we won't render a new frame. If anything does change we will render an entire new frame
<Guest3579> Well, appreciate the time and effort you fellas have spent building river!
<ifreund> no problem, I'm just doing this cause I want to use it
<ifreund> sway got me hooked on wayland but I can't stand i3's window management
<Guest3579> You can script the behaviour of sway window management iirc
<Guest3579> But this is another solution as well
Guest3579 has quit [Quit: Client closed]
Guest2663 has joined #river
<Guest2663> ifreund Out of curiosity why the name river?
<Guest2663> Rather hard to find using DDG, have to switch to google to find river related repos
<ifreund> "river wayland" or "river compositor" should find it without issue
<ifreund> as for why, rivers are awesome (I briefly worked as a canoe guide on the mississippi) and it fits a dynamic window manager nicely IMO
<Guest2663> Rivers are indeed awesome!
Guest2663 has quit [Quit: Client closed]
<ifreund> leon-p: fixed the issue with snayk and also fixed the issue I mentioned a while back that was causing unfocusing e.g. a paused mpv instance to timeout the transaction system
<ifreund> thanks for snayk, it was a great test client :)
novakane has joined #river
<novakane> got time to look into attach-mode again, so should it be add to Output.init() to works globally?
yyp has joined #river
yyp has quit [Remote host closed the connection]
yyp has joined #river
yyp has quit [Remote host closed the connection]
yyp has joined #river
<novakane> nvm I think I found a good way
<novakane> I don't have multi output to try it though
novakane has quit [Quit: WeeChat 3.1]
novakane has joined #river
<leon-p> ifreund: great!
<leon-p> damn, I just wondered for an hour why zig-cache/bin/river would not update. Totally did not see zig-out in the changelog -_-
<novakane> happened to the best of us
<novakane> you can blame ifreund though iirc it was one of his commits :P
novakane has quit [Quit: WeeChat 3.1]
novakane has joined #river
<novakane> is it me or github is down?
<leon-p> novakane: works for me. maybe your ISP has a few problems? Happens to me sometimes
<novakane> hmm only some parts of the website load, I'll wait too see
<leon-p> what a great reminder of the lovely benefits of strong centralisation
<novakane> yeah everytime it's the same shit, one thing breaks and half of internet breaks
<leon-p> by the way, input configuration now kinda works, I guess
<leon-p> although I don't hace all the devices to test it ready atm
<leon-p> novakane: you wanted touchpad tapping, right?
<leon-p> in that case, could you test the branch?
<leon-p> the command should be `riverctl input <identifier> tap enable`
<leon-p> the identifier of input devices is somewhere in the logs
<leon-p> (it's the same one sway uses)
<novakane> leon-p: sure no problem
<leon-p> note that not all input settings are implemented yet, but all the tapping related stuff should be there
<novakane> I'm going to quit, need to reboot to remove the libinbut-config hack, I'll try that and tell you after
novakane has quit [Quit: WeeChat 3.1]
novakane has joined #river
<novakane> leon-p: can it be use at runtime or I need to put it in the config?
<leon-p> those two options are the same
waleee has joined #river
<novakane> leon-p: trying `riverctl input "ELAN0501:00 04F3:3040 Touchpad" tap enable` return `err: Error: unknown option`
<leon-p> interesting
<leon-p> although that is not a valid identifier
<novakane> oh yeah I have '1267:12352:ELAN0501:00_04F3:3040_Touchpad' on sway, my bad
<novakane> is it valid?
<leon-p> yes, that shounds better
<novakane> the first one is the one in the log though
<novakane> and the one return by `libinput list-devices`
<leon-p> ignore whatever the libinput command gives you
<leon-p> the identifier is generated in river
<leon-p> and it can't be the one with spaces in it
<leon-p> are you sure you are on the latest commit on that PR?
<novakane> well I used `git fetch upstream pull/303/head:input-config`
<leon-p> hmm
<novakane> I tried directly by cloning your forks and it's the same
<leon-p> novakane: can you show me your logs?
<leon-p> hmm... some input devices are advertised more than once? weird
<novakane> doesn't look like there is anythign useful
<leon-p> novakane: you are definitely not running the PR, otherwise there would be "new input device [...]" messages in the logs
<novakane> hmmm weird
<novakane> git log give 'stuffd' though
<leon-p> novakane: did you build river with release-safe? That will disable debug messages
<novakane> oh yeah my bad I'm dumb, I'm too used to
<novakane> let me rebuild it
<leon-p> novakane: yep, that's right. However you are running river inside another compositor, so it does not get the inputs
<leon-p> only the virtual input devices from wlroots
<novakane> well let me relaunch river then
<novakane> I get you a better log
novakane has quit [Quit: WeeChat 3.1]
waleee has quit [Ping timeout: 244 seconds]
novakane has joined #river
<novakane> should be better
<leon-p> see on line 65, that is your touchpad
<leon-p> btw, you still have libinput config loaded :P
<novakane> oh yeah I see now, it's better with no -Drelease-safe :P
<novakane> huh it shouldn't I thought I removed everything
<leon-p> anyway, what does riverctl input ... give you?
<novakane> err: Error: not enough arguments
<leon-p> yeah, I mean the complete command :D
<novakane> oh the same as before
<novakane> err: Error: unknown option
<leon-p> that is weird
<novakane> yep
<leon-p> riverctl input <ident> tap enabled?#+
waleee has joined #river
<leon-p> (without the characters I acc. pressed, of course)
<novakane> oh enabled works
<leon-p> yes, there is a d at the end :P
<leon-p> try enabling and disabling it a few times and see if the touchpad responds
<novakane> well I copied/pasted the command you told me :P
<leon-p> :D
<novakane> everything looks fine
<novakane> :D
<leon-p> can you succesfully enable and disable tapping on the touchpad?
<novakane> yep
<novakane> tried like 4 times, no problem
<leon-p> nice!
<novakane> that's cool! but now I need to cleanup the libinput-config, looks like it doesn't wand to do clean uninstall
<leon-p> if I add the man pages that PR will probably be at 1k lines :o
<novakane> worth it, tap to click was the last thing I missed on river :D
<leon-p> for me it was the scroll button and speed for my track ball
<novakane> no freeze, tap-to-click, what more can a man ask for? :P
novakane has quit [Quit: WeeChat 3.1]
novakane has joined #river
<novakane> allright libinput-config finally cleanup, not gonna reinstall it, too messy, I'll wait for your PR to be merge now
<leon-p> I am not sure I want to add support for calibration matrices yet. Should be easy, but I don't think there is any wayland software yet to actually generate the calib matrices
<novakane> what's that?
<leon-p> to calibrate touch pads and touch screens
<novakane> oh ok, well if it not used now and not to hard to add it can wait for a use case then I guess
<novakane> leon-p: btw you know you were right I'm starting to really like git with email, after reading more about it
<novakane> even if I don't have a lot of use case for now
<leon-p> ifreund: input config PR is ready to review (only man pages are missing). So it can make it into 0.1.0 :D
noopdecoder has joined #river
<novakane> oh looks like I made smart gaps working, cool
waleee has quit [Ping timeout: 272 seconds]
waleee has joined #river
Jano[m] has quit [Remote host closed the connection]
sjtio has quit [Read error: Connection reset by peer]
sjtio has joined #river
Jano[m] has joined #river
snakedye has joined #river
snakedye has quit [Remote host closed the connection]
snakedye has joined #river
<snakedye> leon-p does the input configuration take into consideration drawing tablets?
<leon-p> I haven't implemented drawing tablets yet, so no
<leon-p> I plan on doing it but haven't gotten around to it yet
<leon-p> but as far as I am aware there is not much specific configuration for tablets, it's mostly just pointer stuff
<leon-p> the most important thing IMO is mapping the device to an output / to a region, which is not yet implemented
<leon-p> Actually I think that should be something the client does anyway, but I digress
<novakane> also zig-wlroots doesn't have the bind need for tablet no?
<leon-p> probably :D
<leon-p> should be a quick fix though
<leon-p> I looked at it in the past once and I doubt supporting tablets needs more than an hour or two
<snakedye> mapping it to an output is the only thing I need.
<novakane> just buy an ipad guys :P
<snakedye> the input configuration is the only reason I still use sway
<snakedye> I can't wait to fully swim in river
<leon-p> That is the one main thing I find annoying about the current wayland / input thing. Why should the user map it to an output? Why not just let the application request the tablet to be mapped to it's drawing region, no matter what output it is on?
<novakane> would make more sense
<ifreund> that'd be a question for #wayland
<snakedye> if you are not on a regular desktop the stylus could be used beyond the app 🤔
<ifreund> (they're on oftc now if you're not aware)
<leon-p> I may ask one of these days
<leon-p> snakedye: that would make sense for a tablet that is also a screen, not so much for the default, non-output kind IMO
<leon-p> But then again I only need it to sign documents, considering my artistic skills are somewhat limited
<ifreund> I just have a transparent background png of my signature that I paste onto documents
<snakedye> I like to image viewer floating nearby as some kind of reference. Having to switch to my mouse only to move it would be annoying.
<leon-p> ifreund: Does not work for me since most docs I sign need a date. I could of course have PNGs of all numbers, that would get a bit tedious :)
<ifreund> leon-p: I just enter the date with GIMP's text tool
<leon-p> I see
<ifreund> noone's complained yet :D
<leon-p> does gimp support drawing on PDFs? I only ever used xournal++ for that stuff
<snakedye> yes it does
<ifreund> yeah it does
<leon-p> damn. Although I am not surprised. Gimp does a lot of weird things.
<ifreund> yep, as expected for GNU software
<leon-p> like for example since it actually predates sane multi-monitor configs, GIMP supports connecting to multiple X servers at once
<snakedye> we have found one thing gimp can do correctly
<ifreund> leon-p: wow, that's cursed
<leon-p> it totally is. But it makes sense in a sick kinda way. One X server per output.
snakedye has quit [Quit: Connection closed]
snakedye has joined #river
<leon-p> man pages for input config are done now as well
snakedye has quit [Client Quit]
snakedye has joined #river
<leon-p> by the way, testing is welcome, I probably forgot to test some of those settings
<ifreund> I'm not going to be able to test any of the trackpad ones, my laptop is an old macbook air and the trackpad driver doesn't seem to work
<novakane> I'll try trackpad ones, natural-scroll works, really awful as intended :P
snakedye has quit [Ping timeout: 250 seconds]
<ifreund> cool )
<novakane> oh I forgot about disable-while-typing, that's cool to have it too
<leon-p> I wonder how hard it would be to write a program to generate those calibration matrices. I don't think I need it, but it would be nice to have something to point to when seeing yet another "Wayland lacks X" post online...
<novakane> so I tried everything and didn't have any bugs, but `scroll-method` and `click-method` should works with touchpad?
<leon-p> novakane: yes, those are touchpad options
<novakane> well looks like it doesn't works then
<leon-p> huh
<novakane> it doesn't changes anything, everything else works as intended
<novakane> maybe I don't understand the options, like if i set scroll-method to none I shouldn't be able to scroll with two fingers right?
<leon-p> yes
<leon-p> novakane: actually, scroll-method does not have "none", it has "no-scroll". Probably should rename it to none, but could you test that?
<novakane> I look at `libinput list-devices` and all options changes when I changed them but not those two
<novakane> the man pages is wrong then
<leon-p> indeed it is, I'll fix it in a minute
<novakane> doesn't works too
<leon-p> scroll-method does work for me, I can set my trackball to "button"
crr has quit [*.net *.split]
<leon-p> I think the problem is the somewhat naïve check whether the device supports the modes. I'll try something else
<emersion> leon-p, need a tablet-constraints protocol
<emersion> just like we have pointer-constraints
<leon-p> novakane: I made the support-check a bit smarter, maybe it'll work now
novakane has quit [Quit: WeeChat 3.1]
novakane has joined #river
<novakane> leon-p: scroll-method is working now
<leon-p> nice
<novakane> just need the change in the man pages, and on my side it's all good
<leon-p> actually I changed it on the other end, river now accepts "none"
<novakane> oh well perfect then
tdeo has joined #river
snakedye has joined #river
snakedye has quit [Ping timeout: 258 seconds]
yyp has quit [Remote host closed the connection]
<ifreund> well, I can't reproduce any of the remaining bugs
<ifreund> I guess that's a good sign
<novakane> sure, once leon PR is merge I personally have no more thing I missed
<novakane> and so river gonna be my next bspwm, and I mean I spend at least 5 years on bspwm
<ifreund> nice :)
hspak045033 is now known as hspak
<novakane> you won the race between wayland compositor, it was an easier race than on x11 though :P
novakane has quit [Quit: WeeChat 3.1]
snakedye has joined #river
snakedye has quit [Quit: WeeChat 3.1]