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/
<Anderson-D> leon-p: thank you!
Guest58 has joined #river
Guest58 has quit [Client Quit]
waleee has quit [Ping timeout: 252 seconds]
bfiedler has quit [Ping timeout: 240 seconds]
bfiedler has joined #river
neeasade has joined #river
snakedye has quit [Ping timeout: 252 seconds]
<neeasade> hello all. is contrib/layout.py the most-straightforward place to start messing with layout clients? it appears so, but wanted to check
<neeasade> and, if I understand correctly, it just goes through all the windows and assigns dimensions -- is there a way to get current information about a view before doing things
neeasade has quit [Quit: Client closed]
notzmv has quit [Ping timeout: 250 seconds]
chipps has quit [Quit: WeeChat 3.3]
waleee has joined #river
<novakane> weird I can't make the tests run in zig-wlroots next-zig branch
<novakane> `zig-cache/zig-wayland/drm_client.zig:52:97: error: use of undeclared identifier 'Buffer'`
<Anderson-D> neeasade: what sort of info do you need? I think you can fetch some via river-status protocol. https://git.sr.ht/~leon_plickat/stacktile might be great (and easy to read) as an example for your layout provider.
snakedye has joined #river
notzmv has joined #river
qyliss_ has joined #river
norkki_ has joined #river
elshize1 has joined #river
zdykstra1 has joined #river
elshize has quit [*.net *.split]
norkki has quit [*.net *.split]
Nulo has quit [*.net *.split]
qyliss has quit [*.net *.split]
zdykstra has quit [*.net *.split]
Nulo has joined #river
Guest46 has joined #river
Guest46 has quit [Client Quit]
snakedye has quit [Ping timeout: 240 seconds]
snakedye has joined #river
zdykstra1 is now known as zdykstra
snakedye has quit [Ping timeout: 256 seconds]
waleee has quit [Ping timeout: 268 seconds]
<ifreund> novakane: not sure, passes for me
<novakane> ifreund: oh, that's weird because it's not really related to zig 0.9 maybe I messed up deps branch
<novakane> anyway that was just to update the build.zig file, so I guess you did it now
elshize1 has quit [Quit: WeeChat 3.3]
elshize has joined #river
<elshize> is there a tool that would allow me to run some cmd on an output connect? say, like kanshi, but something that would allow me to run an arbitrary command? in particular, my yambar exits every time I disconnect a display (I switch it between my work and home computers) and would like to start it when it reconnects (yambar doesn't seem to support this)
<elshize> I can always bind some key to a script that kills all bars and starts them again, but it would be nice for it to work automatically
<emersion> kanshi allows you to run any command, iirc
<elshize> emersion: oh, I didn't know, I'll look it up
<elshize> emersion: ok, you're right, it's right there in the manual; I just assumed it was for outputs only, didn't even think to check, my bad; thanks!
<emersion> np :)
<dnkl> elshize: there's an open issue on yambar about this. I agree it would be nice to get this fixed...
<emersion> ah, didn't realize it was for working around a bug
<emersion> yeah, instead of spending time trying to work around the bugs, it's better to spend time fixing them :)
<dnkl> if we fix this in yambar, we can also do things like hide/show the bar (through e.g a key binding)
snakedye has joined #river
<elshize> dnkl: yes, I saw that issue. sadly, I'm way out of my depths here. I'd love to learn some wayland at some point, but i'm quite busy at the moment :/
<dnkl> elshize: I'll probably get to it, sooner or later (probably later...). I'm not affected by it, so my reasons for fixing this is mainly to enable other features that needs to be able to have the bar
<dnkl> bar's surface destroyed
<elshize> dnkl: that's fair; I'll just work around it for now.
kindablue has quit [Quit: System Rebooting..]
kindablue has joined #river
Nulo has quit [Remote host closed the connection]
Nulo has joined #river
waleee has joined #river
snakedye has quit [Ping timeout: 256 seconds]
snakedye has joined #river
snakedye has quit [Ping timeout: 252 seconds]
Nulo has quit [Remote host closed the connection]
Nulo has joined #river
snakedye has joined #river
snakedye has quit [Ping timeout: 256 seconds]
snakedye has joined #river
notzmv has quit [Ping timeout: 250 seconds]
<ifreund> new draft of the lock screen protocol I've been working on: https://github.com/riverwm/river/blob/river-lock/protocol/river-lock-v1.xml
<ifreund> probably going to send this upstream to wayland-protocols as ext-lock-v1 tomorrow but I plan to implement this in river in the next few weeks cause wayland protocols moves sloooow
* emersion doesn't see what you're talking about
<emersion> we totally don't take multiple years to merge stuff
<ifreund> xD
snakedye has quit [Remote host closed the connection]
snakedye has joined #river
<leon-p> ifreund: what sparked your interested to work on a lockscreen protocol?
<leon-p> ifreund: protocol freedback: How is focusing handled? When there are multiple outputs, and therefore multiple lock surfaces, which one will receive keyboard events? This is probably compositor policy, but that should probably be noted.
<leon-p> what happens to the cursor? Is it hidden, like right now with swaylock, or shown, like the Big Desktops™ do?
<emersion> cursor should be up to the client, just like regular clients, see wl_pointer.set_cursor
<leon-p> does swaylock hide the cursor? TBH I always just assumed it was some specific server-side magic, but it makes sense in hindsight