ChanServ changed the topic of #river to: river - a dynamic tiling Wayland compositor || https://codeberg.org/river/river || channel logs: https://libera.irclog.whitequark.org/river/
Palanix has quit [Ping timeout: 260 seconds]
eShaev9z_ has quit [Ping timeout: 260 seconds]
eShaev9z has joined #river
Palanix has joined #river
aryak has quit [Ping timeout: 252 seconds]
aryak has joined #river
waleee has quit [Ping timeout: 276 seconds]
eShaev9z_ has joined #river
eShaev9z has quit [Ping timeout: 244 seconds]
Palanix_ has joined #river
Palanix has quit [Ping timeout: 252 seconds]
Palanix_ is now known as Palanix
pixavi has quit [Ping timeout: 245 seconds]
eShaev9z has joined #river
eShaev9z_ has quit [Ping timeout: 272 seconds]
aryak has quit [Ping timeout: 252 seconds]
leopoldek has quit [Remote host closed the connection]
Palanix has quit [Ping timeout: 244 seconds]
Palanix has joined #river
fleurc has joined #river
<fleurc> Hi, just wanted to say that I solved the gpg issue today, it was both an environments not set issue and an xdg-desktop-portal issue. Essentially, for future reference: Have both XDG-DESKTOP-PORTAL and XDG-DESKTOP-PORTAL-WLR installed. Then execute both with "/usr/lib/xdg-desktop-portal -r & /usr/lib/xdg-desktop-portal-wlr &" and finally update the environments with "systemctl --user import-environment WAYLAND_DISPLAY
<fleurc> XDG_CURRENT_DESKTOP" and "dbus-update-activation-environment SEATD_SOCK DISPLAY WAYLAND _DISPLAY XDG_SESSION_TYPE=wayland MOZ_ENABLE_WAYLAND=1 RTC_USE_PIPEWIRE=true XDG_CURRENT_DESKTOP=river". This way GPG works like a charm.
<fleurc> It's 1am, gotta go now, thanks for the answers (The archive is real useful since Circe in Emacs doesn't save chats)
fleurc has quit [Quit: Using Circe, the loveliest of all IRC clients]
angry_vincent has joined #river
lidg has joined #river
lidg has quit [Quit: WeeChat 4.3.1]
<leon-p> starting to think the WM protocol is a trick to make us all understand how the transaction system works, since now any WM needs one too :)
<larstiq_> haha
adv8tor has joined #river
Palanix has quit [Ping timeout: 260 seconds]
Palanix has joined #river
tiosgz has joined #river
<tiosgz> how you know leon-p is working on a wm :) (at least in their mind)
<tiosgz> i may need to think about this more, but i've had the impression the wm can simply send everything to the compositor right away?
<leon-p> yes, but message order isn't defined. so you really should do most logic in response to the river_window_manager_v1.update event
<tiosgz> i'm not sure if there's something in wayland i'm unaware of, or if i'm not getting the consequences
<tiosgz> msg order isn't defined, as in you don't know if you've sent this earlier than received that, or that you don't know if what you send is in the order you've sent it?
<tiosgz> (in the latter case that would be new to me)
<leon-p> events you receive were sent in that order, request keep their order as well
<larstiq_> but no ordering between receive/sent?
<leon-p> not really, but that is also not what I meant
<leon-p> there can be multiple events in a single update, which may affect the same resources
<leon-p> so you want to collect all changes until the update event
<tiosgz> ah, right. just got that the moment you started writing it :)
<tiosgz> thanks
<leon-p> f.e. a new window appears and your outputs usable dimensions change in a single update. depending on which came first, the initial position of the new window may be different
<leon-p> by collecting all changes and handling them in a defined order in your update event handler, you can work around that
<leon-p> f.e. always do all output changes first, then do all window changes.
<leon-p> I am reasonably sure some seat related things can sidestep this without issue, but I need to try this in practice
<leon-p> also for a new window you'll want to wait for app-id, title, geometry anyway before you do anything with it
<ifreund> some bad clients may not set app-id before you send them the first configure :/
<leon-p> also true
<ifreund> in any case, I dont think what WMs need to do here for frame perfection is anywhere near as complex as rivers transaction system
<ifreund> and I dont think its unique to this protocol either, double buffered state is common across many Wayland protocols
tiosgz has quit [Quit: nyaa~]
alexherbo2 has joined #river
vimproved has joined #river
Palanix has quit [Ping timeout: 265 seconds]
Palanix has joined #river
aryak has joined #river
leopoldek has joined #river
neurocyte has quit [Ping timeout: 252 seconds]
neurocyte has joined #river
selenebun has quit [Remote host closed the connection]
greenfork has quit [Write error: Connection reset by peer]
p00f has quit [Write error: Connection reset by peer]
whereswaldon has quit [Read error: Connection reset by peer]
SusanTheNerd2 has quit [Read error: Connection reset by peer]
anjan has quit [Read error: Connection reset by peer]
mainiomano has quit [Read error: Connection reset by peer]
coder_kalyan has quit [Remote host closed the connection]
Ronan-Dplq has quit [Remote host closed the connection]
ptrckd has quit [Remote host closed the connection]
kennylevinsen has quit [Read error: Connection reset by peer]
dzoidberg has quit [Write error: Connection reset by peer]
raiaq has quit [Read error: Connection reset by peer]
ifreund has quit [Read error: Connection reset by peer]
andrea has quit [Read error: Connection reset by peer]
maringuu has quit [Write error: Connection reset by peer]
psnszsn has quit [Read error: Connection reset by peer]
pepe has quit [Remote host closed the connection]
novakane has quit [Read error: Connection reset by peer]
dnkl has quit [Read error: Connection reset by peer]
gbrlsnchs has quit [Write error: Connection reset by peer]
angle has quit [Read error: Connection reset by peer]
Ankhers has quit [Write error: Connection reset by peer]
robertgzr has quit [Remote host closed the connection]
LadySera has quit [Remote host closed the connection]
kindablue has quit [Remote host closed the connection]
leon-p has quit [Remote host closed the connection]
geemili has quit [Remote host closed the connection]
bfiedler has quit [Remote host closed the connection]
lizog has quit [Remote host closed the connection]
rodrgz has quit [Remote host closed the connection]
szgy has quit [Remote host closed the connection]
wsx has quit [Remote host closed the connection]
voroskoi has quit [Remote host closed the connection]
pvsr has quit [Remote host closed the connection]
arya_elfren has quit [Read error: Connection reset by peer]
bfiedler has joined #river
Ronan-Dplq has joined #river
geemili has joined #river
coder_kalyan has joined #river
ane has joined #river
lizog has joined #river
voroskoi has joined #river
angle has joined #river
greenfork has joined #river
LadySera has joined #river
kindablue has joined #river
wsx has joined #river
arya_elfren has joined #river
robertgzr has joined #river
rodrgz has joined #river
selenebun has joined #river
raiaq has joined #river
szgy has joined #river
pepe has joined #river
ifreund has joined #river
dnkl has joined #river
whereswaldon has joined #river
kennylevinsen has joined #river
andrea has joined #river
maringuu has joined #river
pvsr has joined #river
mainiomano has joined #river
gbrlsnchs has joined #river
dzoidberg has joined #river
p00f has joined #river
ptrckd has joined #river
leon-p has joined #river
psnszsn has joined #river
SusanTheNerd2 has joined #river
anjan has joined #river
novakane has joined #river
Ankhers has joined #river
mtm has quit [Ping timeout: 276 seconds]
mtm has joined #river
alexherbo2 has quit [Remote host closed the connection]
waleee has joined #river
leopoldek has quit [Ping timeout: 276 seconds]
adv8tor has quit [Quit: Quit]
glepage has joined #river
alexherbo2 has joined #river
glepage has quit [Client Quit]
<leon-p> this is so much boilerplate. after a few hours typing on-and-off I am almost at the point where I can write the interesting bits https://git.sr.ht/~leon_plickat/river-wm/tree/master/item/wm.c
<leon-p> the amount of boilerplate is a failing of wayland and libwayland more so than the protocol, so that's not a complaint :)
<ifreund> leon-p: yeah, this kind of thing is much better with zig-wayland: https://codeberg.org/river/river/src/commit/5ea8bb8f5f8aa8b75a72880d9733869e7a3af339/river/Window.zig#L418-L424
<ifreund> most of these trivial state update things are just one line in a switch statement
<ifreund> In any case, I think there's space for an official librwm library to handle as much of that boilerplate as possible
<leon-p> yeah I would like to use zig, I just don't want to add another project to the list of things I have to work on twice a year when a new zig version is released :/
<ifreund> totally fair :)
<ifreund> I think zig will trend towards stability with releases becoming less and less breaking over the next few years
<leon-p> language breaking changes aren't the problem, changes to std and the build system were quite tedious so far however
<leon-p> the nice thing about C is that I won't have to touch the code again until I either want to add a feature or fix an issue
<ifreund> yeah, I totally agree about writing small things that are feature complete in C for now
<ifreund> Zig is more worthwhile the large the project is and the longer you plan to actively develop/maintain it
<leon-p> agreed
<leon-p> maybe in ~10 years or so there is a gcc frontend for zig, then I'd say you could also use it for small programs you don't want to touch again
catman has joined #river
catman has quit [Client Quit]
catman has joined #river
waleee has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Remote host closed the connection]
ane has quit [Ping timeout: 264 seconds]
waleee has joined #river
belanthor has joined #river
belanthor has quit [Quit: Leaving]
* The_Buhs is still using Zig 0.12
leopoldek has joined #river
Palanix has quit [Read error: Connection reset by peer]
eShaev9z has quit [Ping timeout: 260 seconds]
eShaev9z has joined #river
<angle> hey my numlock and CAPSLOCK keys aren't lighting up when they're activated.
<angle> they still work, but I'm curious if this is a known issue cause they light up normally with dwl and sway.
Palanix has joined #river
<leon-p> angle: it may be that they are on a separate logical keyboard (which can happen despite being the same physical device). In that case you can set up a keyboard group which will make all the logical keyboards act as a single one
angry_vincent has quit [Ping timeout: 248 seconds]
<angle> I'm not sure what that means.
<angle> leon-p: I use keyd and messed around with some plugdev settings when I was getting dotool to work at some point.
<angle> okay, I see a section on keyboard groups in riverctl man page.
<angle> I will read the docs then.
<ifreund> Ill be away over the weekend, back Monday or so :)
leopoldek has quit [Ping timeout: 252 seconds]
lbia has quit [Ping timeout: 252 seconds]