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/
mifom has quit [Ping timeout: 260 seconds]
Guest79 has joined #river
waleee has quit [Quit: WeeChat 4.1.2]
<Guest79> Recently moved to river in light of the whole hyprland disaster, been absolutely loving it, probably gonna look into river's code soon and see if I can't implement blur and rounded corners
eShaev9z has joined #river
eShaev9z_ has quit [Ping timeout: 256 seconds]
Guest79 has quit [Ping timeout: 250 seconds]
catman has quit [Remote host closed the connection]
catman has joined #river
catman has quit [Read error: Connection reset by peer]
catman has joined #river
<LarstiQ> sewn: `execAllowFail` has been renamed `runAllowFail`, but as others said there are other breaking changes in 0.12
<sewn> awesome
<LarstiQ> the comptime changes affecting flags.zig are what stumped me, I'd actually need to start learning zig. Happy to leave it people who know what they're doing :)
mifom has joined #river
yiyu has joined #river
<yiyu> For those of you who use river on NixOS. Have you guys managed to set up xdg-desktop-portal-wlr for screen sharing? I've been debugging it for a while and couldn't figure out a solution. I currently have `xdg.portal.wlr.enable = true;`, and that doesn't seem to work.
yiyu has quit [Client Quit]
yiyu has joined #river
talismanick has quit [Read error: Connection reset by peer]
<LarstiQ> yiyu: works for me. Does https://mozilla.github.io/webrtc-landing/gum_test.html work?
mifom has quit [Ping timeout: 255 seconds]
<LarstiQ> some programs, like Slack, are a bit stupid in showing you a blank selection when picking a screen. In that case I have to click twice on the screen to share and _then_ it shows a preview
<yiyu> No it doesn't. The sharing icon on the tab does show up tho. but I guess there's no prompt to select the screen?
<yiyu> I don't think the picker is there in the first place
leopoldek has quit [Remote host closed the connection]
mifom has joined #river
<LarstiQ> yiyu: right, you might need to install (and potentially configure) a picker
<yiyu> LarstiQ: I have slurp installed since I use it with wayshot. I don't think by default `xdg.portal.wlr.enable = true;` uses it tho, otherwise it would've worked.
<yiyu> What picker do you use that works with it?
<LarstiQ> hmm, none maybe
yiyu has quit [Quit: Client closed]
yiyu has joined #river
yiyu has quit [Read error: Connection reset by peer]
yiyu has joined #river
mifom has quit [Ping timeout: 264 seconds]
<ifreund> I can confirm thet it works for me on chimera linux, but I don't use nixos and can't really help with debugging there
mifom has joined #river
lordmzte33 has joined #river
<lordmzte33> yiyu: I have xdg-desktop-portal-wlr working on river on NixOS. Additionally to the option you mentioned, I also set `xdg.portal.config.river.default = [ "wlr" "gtk" ];`, but if you've set `programs.river.enable = true;`, that already does that.
<lordmzte33> Here's my entire module for river in case it helps (it's a bit unusual): https://gist.github.com/LordMZTE/e71481387602065812017bdbd7fab2cd
catman has quit [Ping timeout: 255 seconds]
kaisan has quit [Quit: The Lounge - https://thelounge.chat]
kaisan has joined #river
folliehiyuki has joined #river
folliehiyuki has left #river [Konversation terminated!]
mifom has quit [Read error: Connection reset by peer]
lordmzte33 has quit [Quit: Client closed]
waleee has joined #river
<leon-p> wow, on codeberg searching through issues actually works. I type in a word and it shows me issues with that word in the title. That alone made the switch from GH worth it
<leon-p> anyway, I thought I should update my WM protocol wishlist to show which use cases I think the current design already supports
<leon-p> heh, everything from my nice-to-have section is already in there
<leon-p> kinda tempted to clone CDE, at least style-wise
<ifreund> CDE?
<ifreund> ah, yeah seems likely
<ifreund> leon-p: I haven't gone through the whole wishlist in detail yet but items 2 and 3 are already done
<ifreund> or at least, the protocol allows quality compositor and client implementations to have frame-perfect map/unmap of windows in a tiled layout
<leon-p> yeah I think the spirit of those is certainly served
<leon-p> and yes, I meant common desktop environment, its style is nice and easiely copied with pixman
<ifreund> I like the dithered background in the wikipedia image
<leon-p> as for the rest of the list, I think you have already done the hardest bits. Constraints w.r.t. pointer resize might be a bit more involved, but the rest really are formalities I think
<leon-p> unfortunately, such dithered backgrounds look sad on hires screens
<ifreund> if we stick to a simple rectangle, pointer resize constraints are just one extra request with the dimensions of rectangle
<leon-p> but CDE had a bunch of infinitely tiled backdrops, which I think hold up really well
<leon-p> Yeah, a rectangle is what I had in mind
<leon-p> anyway, have to go teach some C now, 'til later o/
<ifreund> o7
leopoldek has joined #river
yiyu has quit [Ping timeout: 268 seconds]
yiyu has joined #river
waleee has quit [Quit: WeeChat 4.1.2]
yiyu has quit [Read error: Connection reset by peer]
yiyu has joined #river
waleee has joined #river
waleee has quit [Quit: WeeChat 4.1.2]
waleee has joined #river
yiyu has quit [Read error: Connection reset by peer]
yiyu has joined #river
waleee has quit [Ping timeout: 252 seconds]
catman has joined #river
caughtquick has quit [Remote host closed the connection]
<adamcstephens> trying to troubleshoot screen sharing on nixos, since i've never tried it, and i'm getting this
<adamcstephens> May 02 12:42:54 blank river[19800]: error(wlroots): [types/xdg_shell/wlr_xdg_surface.c:169] A configure is scheduled for an uninitialized xdg_surface 0x1863300
<ifreund> adamcstephens: that error is unrelated to screensharing and probably harmless in practice but river should still fix its usage of the wlroots API
<ifreund> I recall seeing this at some point but dont recall fixing it, assuming you're running 0.3.0 feel free to open an issue
<adamcstephens> ahh it was just coincidence it fired at the time i was troubleshooting
<adamcstephens> yeah, i'm running 0.3.0
<FireFly> screensharing is more likely to be related to xdg-desktop-portal-wlr things and possibly pipewire things I think
<adamcstephens> yeah, that's what i'm messing with
<adamcstephens> (xdg portals)
<ifreund> the xdg-desktop-portal-wlr wiki has good debuggng tips
yiyu has quit [Ping timeout: 252 seconds]
yiyu has joined #river
leopoldek has quit [Remote host closed the connection]
<FireFly> when I was running into issues with this, it was due to the xdg-desktop-portal service not seeing the right env vars; ended up explicitly adding systemctl --user import-environment XDG_CURRENT_DESKTOP XDG_SESSION_TYPE and dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP to my init script
<FireFly> but really the logs of the xdg-desktop-portal service should nudge ye in the right direction
kaisan has quit [Quit: The Lounge - https://thelounge.chat]
caughtquick has joined #river
<adamcstephens> yeah the xdp logs tell me nothing
<adamcstephens> and i give up. luckily i don't need to use this for work
<adamcstephens> i can get 30fps of a black screen though!
<FireFly> btw for testing I found it convenient to just start OBS/try to screencapture with it
<FireFly> easier than messing around with videoconference apps and starting a call anyway
<adamcstephens> i was using the mozilla test page linked above
<FireFly> ah makes sense
caughtquick has quit [Remote host closed the connection]
caughtquick has joined #river
caughtquick has quit [Remote host closed the connection]
caughtquick has joined #river
caughtquick has quit [Remote host closed the connection]
caughtquick has joined #river
caughtquick has quit [Remote host closed the connection]
caughtquick has joined #river
caughtquick has quit [Remote host closed the connection]
yiyu has quit [Read error: Connection reset by peer]
caughtquick has joined #river
yiyu has joined #river
kaisan has joined #river
caughtquick has quit [Remote host closed the connection]
caughtquick has joined #river
yiyu has quit [Ping timeout: 272 seconds]
yiyu has joined #river
<leon-p> note that the mozilla test page can mess itself up. If you start and stop a screenrec a few times it may stop to work correctly eventually
<leon-p> and make sure you have the portal's output selection configured correcctly
<leon-p> I think by default it uses slurp to "ask" the user which output should be shared. if that is not installed, it may cause issues
yiyu has quit [Read error: Connection reset by peer]
yiyu has joined #river
yiyu has quit [Read error: Connection reset by peer]
yiyu has joined #river
catman has quit [Remote host closed the connection]
waleee has joined #river
leopoldek has joined #river
catman has joined #river
catman has quit [Remote host closed the connection]
catman has joined #river
pkulak has joined #river
<leon-p> was about to report an issue with the screen violently flashing, but apparently that is casued by accidentally putting my laptop on my phone? weird...
catman has quit [Remote host closed the connection]
<pkulak> I upgraded to 0.3, and now wlsunset is having issues... or I'm having issues using wlsunset. After the machine comes back from sleep, it's way too bright until I restart the wlsunset service. Anyone every come accross this?
<pkulak> *ever
<leon-p> sounds more like a wlroots issue, river doesn't do anything special w.r.t. the gamma control protocol
<ifreund> it could be a river issue
<waleee> afaik at least macbooks have issues with stuff like the magnets in some wallet phone casings or some smart watch bracelets triggering the sensor for "lid closed"
<ifreund> since wlroots 0.17 we have to apply the gamma settings from the client manually and maybe we dont properly restore them on output hotplug
<leon-p> oh, the API changed? interesting
<ifreund> anyhow, open an issue on codeberg and I'll have a look eventually
<pkulak> Oh, nice, thanks!
catman has joined #river
taeltyde1 has joined #river
taeltydes has joined #river
taeltydes has quit [Remote host closed the connection]
vess has joined #river
taeltydes has joined #river
taeltydes has quit [Remote host closed the connection]
taeltyde1 has quit [Quit: WeeChat 4.2.2]
catman has quit [Quit: WeeChat 4.3.0-dev]
catman has joined #river
catman has quit [Remote host closed the connection]
catman has joined #river
<leon-p> I wonder if sending fullscreen state for zwlr_foreign_toplevel broke
<leon-p> using lswt --watch --debug, I seem to only get the fullscreen state if the window is activated (focused)
<leon-p> I don't think this is functioning as intended
catman has quit [Remote host closed the connection]
yiyu` has joined #river
yiyu` has left #river [#river]
yiyu41 has joined #river
catman has joined #river
yiyu1 has joined #river
catman has quit [Quit: WeeChat 4.3.0-dev]
yiyu41 has quit [Quit: Client closed]