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/
chipps has joined #river
<chipps> hello pps again
<chipps> how can I specify a certain screen resolution for river to run on?
<chipps> do I just add the command to the .config/river/init file, or is there some "better" way of doing it?
waleee has quit [Ping timeout: 256 seconds]
<ifreund> chipps: I'd recommend using kanshi for that
travankor has quit [Ping timeout: 240 seconds]
travankor has joined #river
travankor has quit [Ping timeout: 240 seconds]
<chipps> ifreund: thanks!!!
notzmv has quit [Ping timeout: 240 seconds]
Guest78 has joined #river
Guest78 has quit [Client Quit]
snakedye has quit [Ping timeout: 256 seconds]
snakedye has joined #river
notzmv has joined #river
<leon-p> in command/filter.zig on line 54, aren't we leaking memory? the description of getOrPut() says "caller should then initialize the value (but not the key)"
<ifreund> leon-p: pretty sure that code is fine, the reason I wrote it that way is to avoid duping the key memory if there is already an existing entry in the hash map
<ifreund> the key we pass to getOrPut() is owned by the code in Control.zig and will be freed after the command function is run
<ifreund> so we need to dupe the memory for the key that is stored in the hashmap
<ifreund> we free all the keys in Config.deinit()
<leon-p> ah, I see, that makes sense
bsdeedee[m] has joined #river
beeSD has joined #river
<ifreund> with the wlroots and zig updates done, I think my next focus for river will be migrating to the wlroots scene graph API and refactoring
<beeSD> Hello, when I go to run river I am met with an, error: failed to run init executable /home/me/.config/river/init: FileNotFound
<ifreund> once that's done, prototyping for the view management protocol should be more feasible
<ifreund> beeSD: well, did you read the documentation and create an init script?
<beeSD> I have tried to copy the example https://github.com/riverwm/river/blob/master/example/init but I can't save it
<leon-p> looking forward to that. I took some time off from wayland stuff, but that should be fairly interesting
<beeSD> I'm not sure if I'm overlooking anything in the man pages
<ifreund> beeSD: what do you mean by "I can't save it"
<beeSD> When I try to wq in Vi I get the No such file or directory
<beeSD> neither as root or user
<ifreund> beeSD: you probably need to create the ~/.config/river directory then
<beeSD> I have
<beeSD> For some reason it keeps stating Not a directory
<ifreund> alright, well that's not really related to river so I'm not sure I can help
<beeSD> I'll go back to the Freebsd room. Thanks!
<ifreund> good luck!
Guest21 has joined #river
snakedye has quit [Ping timeout: 240 seconds]
Guest21 has quit [Quit: Client closed]
hill has joined #river
beeSD has quit [Quit: Client closed]
beeSD has joined #river
hill has quit [Remote host closed the connection]
beeSD has quit [Quit: Client closed]
snakedye has joined #river
beeSD has joined #river
bsdeedee[m] has left #river [#river]
beeSD has quit [Quit: Client closed]
travankor has joined #river
beeSD has joined #river
beeSD has left #river [#river]
waleee has joined #river
pkap has joined #river
pkap has quit [Ping timeout: 256 seconds]
ksp has joined #river
<ksp> Hello
<ksp> Recently found out about RiverWM and it seems like an interesting project
pkap has joined #river
<novakane> it is, welcome!
pkap has quit [Ping timeout: 256 seconds]
ksp has quit [Quit: 🤨]
Guest2 has joined #river
Guest2 has quit [Client Quit]
waleee has quit [Ping timeout: 250 seconds]
waleee has joined #river
Guest58 has joined #river
Guest58 has quit [Client Quit]
hill has joined #river
hill has quit [Remote host closed the connection]
<ifreund> just wrote this instead of updating rundird to zig 0.9: https://github.com/ifreund/dumb_runtime_dir
notzmv has quit [Ping timeout: 268 seconds]
waleee has quit [Ping timeout: 252 seconds]
waleee has joined #river
notzmv has joined #river