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/
leopoldek has quit [Ping timeout: 260 seconds]
notzmv has joined #river
eShaev9z has quit [Ping timeout: 248 seconds]
eShaev9z has joined #river
mvnx has joined #river
<mvnx> Hello! I'm trying to package River for Guix. Wondering if this error makes sense to anyone here. Not sure if it's a more general Zig error or a River error but it looks like there's an issue (at least with my setup) on `scanProtocol` in `zig-wayland`. Maybe a path issue? https://paste.debian.net/hidden/594546b1/
<waleee> mvnx: I think that that ultimately is because 'zig build' tries to write to the immutable /gnu/store directly
<waleee> hm or not, didn'
<waleee> *t check out the overflowed text in that paste
leopoldek has joined #river
<mvnx> Thanks for taking a look. :)
angry_vincent has joined #river
angry_vincent has quit [Changing host]
angry_vincent has joined #river
<waleee> mvnx: have you taken a look at the nix expression for river? https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/window-managers/river/default.nix
<waleee> a missing equivalent of fetchSubmodules might be a problem in guix
<waleee> s/in/for/
<mvnx> I have, that's what I modelled my Guix package after. Submodules are being pulled in - I set a flag for that and in the stack trace it references source code in zig-wayland (one of river's submodules).
<waleee> noticed it now that you mentioned it. But the lines above it in the stack trace makes me wonder if the error is because zig-wayland maybe can't find the xml-files for the wayland-protocols?
dbuckley has quit [Ping timeout: 252 seconds]
<mvnx> That's kind of what it sounds like, yeah. Thanks - gives me something to dive into.
<mvnx> Yeah that was it - version issues with wayland-protocols. I made it past there and on to the next version mismatch for wlroots. :) Progress is progress.
andyrtr has quit [Ping timeout: 240 seconds]
andyrtr has joined #river
<plumeus> mvnx, have you also looked at the zig-build-system?
<plumeus> https://issues.guix.gnu.org/60889 has yet to be merged but I think it's better than what NixOS has.
<apoorv569[m]> I have this keybind added to my river config, riverctl map normal Super Return spawn 'alacritty'
<apoorv569[m]> but it doesn't look like it works
<apoorv569[m]> though if i open a terminal via dmenu then run this command
<apoorv569[m]> then the keybind works
<angry_vincent> it will work after you relaunch river
<angry_vincent> to change on the fly type whole line in terminal
<mvnx> plumeus: No! I hadn't seen it. Yeah the build system isn't in master yet but I am looking forward to it. Thanks for the heads up.
<angry_vincent> `riverctl map normal Super Return spawn 'alacritty'` in alacritty
<plumeus> Ekaitz (the person who wrote the Guix patch) is also sometimes online on the Zig IRC and he said he would respond to mails if you have any questions. Although most of it seems straight forward.
<apoorv569[m]> <angry_vincent> "it will work after you relaunch..." <- I have logged out and logged back in multiple times. Even rebooted the system. Still won't work.
taupiqueur has joined #river
<plumeus> Wait, do you have multiple keybinds associated with it?
ayushnix has joined #river
upsala has joined #river
ayushnix has quit [Changing host]
ayushnix has joined #river
<apoorv569[m]> OK, Fixed. There was another thing using the same keybind.
linkert has joined #river
linkert has quit [Remote host closed the connection]
leopoldek has quit [Ping timeout: 250 seconds]
notzmv has quit [Ping timeout: 265 seconds]
<bw> what's the easiest way in river to tell if a window is using native wayland or xwayland?
<ifreund> bw: I'm fond of using xeyes for that
<ifreund> if the eyes can "see" the window it's using xwayland
<bw> hah
muirrum has quit [Ping timeout: 265 seconds]
muirrum has joined #river
<pinpoxIRC> Slightly offtopic, but I wrote a wallpaper-generator for awesomeWM. Now that I have switched to river, I was thinking about re-implementing it in Zig. Does anyone know a good drawing/painting library for Zig?
<pinpoxIRC> This is my original code in lua https://github.com/pinpox/wallpaper-generator
fitrh has joined #river
fitrh has quit [Quit: fitrh]
<p00f1> dnkl: can fuzzel launch apps in the tag they were selected from? sometimes firefox takes a while - i switch to another tag and then firefox is here
<dnkl> p00f1: that's not up to fuzzel
<ifreund> p00f1: fuzzed alone can't make that happen unfortunately, it would need cooperation from river and ideally firefox as well
<dnkl> but fuzzel implements xdg activation, which is a prerequisite for the compositor to be able to do it
<p00f1> I see
<ifreund> leon-p was looking into this the other day
<ifreund> The xdg-activantion based approach does require firefox (or maybe gtk?) to activate before it maps its toplevel
tiosgz has joined #river
<leon-p> ifreund, p00f: I looked into it, the problem is that when an application activvates before map, we don't have a view yet, if I am not mistaken.
<leon-p> Also I think that for activate after map we could also move, if the token came from river itself, like `riverctl spawn -current-tags firefox`
<leon-p> a token from a different client is not possible right now AFAICT, because I don't see a way to hook into that mechanism
<ifreund> leon-p: yeah, that's another wlroots API limitation that we should hopefully get fixed eventually: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3608
<ifreund> feel free to drop a comment there if you want to explain that other use-case
<leon-p> neat, seems like my unique identifier idea for ext-foreign-toplevel-list seems to have been accepted, so maybe we can have a simple window switcher after all
<leon-p> ifreund: sure, will check it out
leopoldek has joined #river
Misthios has quit [Quit: Misthios]
Misthios has joined #river
angry_vincent has quit [Remote host closed the connection]
<leon-p> activating a surface should only have been allowed after it has been given a role :/
<leon-p> i guess we could have a list of activated surfaces that don't have a role yet we could check against when creating a toplevel, but that is awkward
<leon-p> I mean, it works, I just don't really like what I had to do to make it work: https://github.com/riverwm/river/pull/815
<ifreund> leon-p: dont have time to take a real look yet, but I'm not sure it makes sense to have this be configurable
<ifreund> current tags is the intended behavior, the fact that it doesn't work properly for slow clients is a bug
<leon-p> true
<leon-p> what's missing rn is a way for stored tokens to expire
tiosgz has quit [Quit: tiosgz]
leopoldek has quit [Ping timeout: 248 seconds]
leopoldek has joined #river
upsala has quit [Remote host closed the connection]
sugarbeet has joined #river
sugarbeet has quit [Quit: Reconnecting]
sugarbeet has joined #river
sugarbeet has quit [Client Quit]
sugarbeet has joined #river