leopoldek has quit [Remote host closed the connection]
<LarstiQ>
NickH: nice!
rdbo has joined #river
hmht has joined #river
<ifreund>
Very nice!
<ifreund>
This reminds me, I'd like to collect some screenshots of peoples river setups for a release blog post, the biggest complaint last time that there were no images :D
<ifreund>
If you have a screenshot you'd like included just ping me here with a link to the image and the name/handle you'd like me to use to give credit :)
<LarstiQ>
my setup is very plain, but maybe I'll get inspired after seeing some others :)
<rdbo>
ifreund: i am making a linux distro that uses river by default, called Sigma Linux: https://imgur.com/a/Sr4Gjbl
<ifreund>
dnkl: that's nice to hear, I'm quite happy with how it turned out :)
<rdbo>
it's because this is the live iso, so i don't have a whole workflow going on there yet. but i have fuzzel and screenshotting if you want. i guess i can connect to irc too with weechat?
<rdbo>
let me try that
<ifreund>
no need to go out of your way if you don't already have a workflow going
<rdbo>
alright, if u want something specific to screenshot let me know (y)
groknull has joined #river
groknull has quit [Remote host closed the connection]
groknull has joined #river
groknull has quit [Remote host closed the connection]
<NickH>
I'll try to make a screen shot or two that give an idea of how I daily drive river
groknull has joined #river
groknull has quit [Remote host closed the connection]
groknull has joined #river
<ifreund>
in general, I think the release will happen sometime next week. I'm away over the weekend and pretty busy the rest of this week. Will be back around tuesday
<ifreund>
I can't find the motivation to debug a proprietary X11 program right now and I suspect it will resolve itself eventually when zoom updates their qt version to something that supports wayland
<ifreund>
Feel free to propose any other release blockers, if nothing else comes up I'll tag after updating my website and writing a short blog post
groknull has quit [Remote host closed the connection]
pfr has joined #river
<pfr>
It's there a way to configure river to start with xwayland disabled?
groknull has quit [Remote host closed the connection]
Szadek36 has quit [Quit: off]
Guest76 has joined #river
Guest76 has quit [Quit: Client closed]
leopoldek has joined #river
Szadek36 has joined #river
<leon-p>
love the new logo
<leon-p>
unfortunately my setup screenshots keep getting more boring over time, so I am not sure I can be of much help there 🐈
angry_vincent has quit [Ping timeout: 252 seconds]
<The_Buhs>
I'm trying to convert my river/init to lua from bash for... I have no clue why xD especially because I don't really know Lua
<The_Buhs>
but it's kinda fun
<The_Buhs>
I wanted to try writing it in guile with riverguile but writing code without an LSP nowadays drives me crazy and I can't figure it out for neovim
<leon-p>
I don't think there even is an LSP for scheme
<leon-p>
but I wouldn't know, I have not jumped onto that train
<leon-p>
Either way, if you can avoid calling riverctl and instead re-use the same wayland connection there are actual performance gains: Rewriting my init in scheme with riverguile reduced the load time by 50%
<The_Buhs>
Ooo
<The_Buhs>
Maybe I will try with scheme \*shrug\* your config is very nice
<leon-p>
note that I over-engineered the layout in my config, so you really don't need to understand any of that to make use of riverguile
<leon-p>
for most people a simple (map (lamda (i) ...) (iota view-count)) will be enough I guess
<leon-p>
I also started on having support for widgets like panels, but I still need to figure out how to deal with wayland lifetimes versus scheme GC lifetimes
<The_Buhs>
leon-p, what does the ? operator mean in scheme? It's hard to google for it lol
<leon-p>
you mean like this: (something? variable) ?
<The_Buhs>
Yeah
<leon-p>
that's not an operator, the ? is part of the name of the procedure
<leon-p>
it's a convention
<The_Buhs>
ahh
<The_Buhs>
is it like same as some other languages that have stuff like `is_true` or whatever (where having "is" at the start is convention)?
<leon-p>
if your procedure ("function" in other languages, but scheme uses procedure because function isn't correct in the mathematical sense) checks for a boolean state, it's called a "predicate". In some lisps it's convention to append _p to the proc name, in scheme it's the question mark
<The_Buhs>
Cool, that makes sense, thanks :)
<leon-p>
also don't worry about the fancy words, they'll all fall in to place eventually. Even contiouations are actually not that evil.
<leon-p>
another convention is appending ! to the name of procs if they /may/ (not must) modify data in-place
<leon-p>
or if the input value is destroyed somehow
groknull has joined #river
groknull has quit [Remote host closed the connection]
groknull has joined #river
rdbo has joined #river
groknull has quit [Remote host closed the connection]
groknull has joined #river
groknull has quit [Remote host closed the connection]
groknull has joined #river
groknull has quit [Remote host closed the connection]
groknull has joined #river
groknull has quit [Remote host closed the connection]
groknull has joined #river
groknull has quit [Remote host closed the connection]
waleee has joined #river
groknull has joined #river
groknull has quit [Remote host closed the connection]
groknull has joined #river
groknull has quit [Remote host closed the connection]
<holst>
Is there a way to run xwayland with scaling 1.0 but use scaling 2.0 for all other native wayland apps?
<holst>
running with wayland scaling 1.0 forces me to customize all applications with different scaling, one setting for my laptop and another setting for my desktop :/
<holst>
but x11 apps looks just terrible with scaling
angry_vincent has quit [Ping timeout: 252 seconds]
groknull has joined #river
groknull has quit [Remote host closed the connection]
ninewise has quit [Ping timeout: 260 seconds]
ninewise has joined #river
<The_Buhs>
leon-p,got back to working on my river config, this is how I handle my idle right now: https://bpa.st/J4CA. Is there a way to do the 2 separate timeouts with riverguile?
<waleee>
2 different idle handlers by the looks of it seems doable (factor out swayidle), but I didn't see if there was a way to handle the before-sleep bit
<waleee>
(assuming the 1st timout is not resetting the idle-counter)
<The_Buhs>
I don't know if I even need the before-sleep tbh, swayidle man page says that's for systemd but I use openrc (on Gentoo) anyways
<The_Buhs>
I'll try out the two idle handles then
<leon-p>
The_Buhs: you can have multiple timeout handlers for different times. "resume" and "before-sleep" are not implemented yet, but I may do so later.
<leon-p>
your idle handler will need to handle one parameter, which will be either 'idled or 'resumed.
<leon-p>
ah, the riverguile.1 man page even has an example for multiple handlers
<leon-p>
in general all things riverguile can do have small examples in the man page
<The_Buhs>
🤦♂️ I didn’t think to look at the man page