waleee has quit [Remote host closed the connection]
palanix_ has joined #river
palanix has quit [Ping timeout: 276 seconds]
palanix_ is now known as palanix
ninewise has quit [Ping timeout: 244 seconds]
ninewise has joined #river
Snetry has quit [Ping timeout: 268 seconds]
Snetry has joined #river
palanix_ has joined #river
palanix has quit [Ping timeout: 252 seconds]
palanix_ is now known as palanix
angry_vincent has quit [Remote host closed the connection]
angry_vincent has joined #river
Keeto has joined #river
elshize has quit [Ping timeout: 248 seconds]
novakane has quit [Remote host closed the connection]
ifreund has quit [Remote host closed the connection]
Guest5163 has quit [Read error: Connection reset by peer]
bfiedler has quit [Remote host closed the connection]
kindablue has quit [Remote host closed the connection]
arya_elfren has quit [Remote host closed the connection]
gbrlsnchs has quit [Remote host closed the connection]
lizog has quit [Remote host closed the connection]
rodrgz has quit [Remote host closed the connection]
pepe has quit [Remote host closed the connection]
coder_kalyan has quit [Remote host closed the connection]
voroskoi has quit [Remote host closed the connection]
anemofilia has quit [Remote host closed the connection]
wsx has quit [Remote host closed the connection]
robertgzr has quit [Remote host closed the connection]
leverarch has quit [Remote host closed the connection]
dzoidberg has quit [Remote host closed the connection]
maringuu has quit [Remote host closed the connection]
ptrckd has quit [Remote host closed the connection]
LadySera has quit [Remote host closed the connection]
mainiomano has quit [Remote host closed the connection]
andrea has quit [Remote host closed the connection]
Ankhers has quit [Remote host closed the connection]
viscous24 has quit [Remote host closed the connection]
psnszsn has quit [Remote host closed the connection]
ang1e has quit [Remote host closed the connection]
leon-p has quit [Remote host closed the connection]
kennylevinsen has quit [Write error: Broken pipe]
MonsoonSecrecy has quit [Write error: Broken pipe]
pvsr has quit [Remote host closed the connection]
greenfork has quit [Remote host closed the connection]
SusanTheNerd2 has quit [Remote host closed the connection]
Ronan-Dplq has quit [Remote host closed the connection]
szgy has quit [Remote host closed the connection]
whereswaldon has quit [Remote host closed the connection]
raiaq has quit [Remote host closed the connection]
sleen has quit [Remote host closed the connection]
dnkl has quit [Remote host closed the connection]
lizog has joined #river
Ronan-Dplq has joined #river
viscous24 has joined #river
robertgzr has joined #river
novakane has joined #river
pvsr has joined #river
bfiedler has joined #river
sleen has joined #river
psnszsn has joined #river
MyNetAz has quit [Write error: Broken pipe]
Ankhers has joined #river
anemofilia has joined #river
dzoidberg has joined #river
leverarch has joined #river
szgy has joined #river
ifreund has joined #river
andrea has joined #river
arya_elfren has joined #river
LadySera has joined #river
ptrckd has joined #river
greenfork has joined #river
mainiomano has joined #river
kennylevinsen has joined #river
rodrgz has joined #river
kindablue has joined #river
wsx has joined #river
coder_kalyan has joined #river
pepe has joined #river
MonsoonSecrecy has joined #river
leon-p has joined #river
whereswaldon has joined #river
voroskoi has joined #river
raiaq has joined #river
ang1e has joined #river
SusanTheNerd2 has joined #river
maringuu has joined #river
dnkl has joined #river
gbrlsnchs has joined #river
MyNetAz has joined #river
undefined has joined #river
undefined is now known as Guest2720
<leon-p>
who would have thought that getting into river would lead to me being intimately familiar with the FFI of two scheme implementations, being incredibly annoyed by said FFIs, going a third of the way of writing a native scheme wayland implementation before realizing that would likely be even worse in the long run
<leon-p>
in other words, I'll probably do image loading next, since that will be a lot nicer than trying to design an API that is at least somewhat efficient, works well with scheme and doesn't annoy me...
<leon-p>
</rant>
<leon-p>
I might even skip the entire library thing, but using libwayland from scheme directly isn't pleasant at all
<Nickli>
...what has happened before will happen again, it seems
<ifreund>
leon-p: I'll try my hand at FFI stuff myself eventually, perhaps with lua
<ifreund>
ive seen a type safe API for embedding lua in C++ using templates, it should be possible to write something even nicer in zig
<ifreund>
probably someone has already done so
root has joined #river
root is now known as Guest1740
<Guest1740>
how can I select which GPU river uses?
<ifreund>
Guest2720: you can set WLR_DRM_DEVICES in the environment, generally you shouldn't have to do this though
<Guest1740>
I am using my GPU for deep learning compute tasks and I don't want anything to interfer with that. I got a dedicated AMD Gpu just for this reason ;-)
<Guest1740>
NVIDIA = for compute; AMD = for desktop graphics
<leon-p>
ifreund: my current way of judging a FFIs maturity/design is how hard it is to pass a struct of function pointers to a foreign function, where the function pointers point to (wrappers of) function in the high level language
<leon-p>
and also, how hard is it to allocate arbitrary data in memory and pass a pointer to that to a foreign C function, i.e. to attach user-data to a foreign object
Guest1740 has quit [Quit: lets-me-test-it-thanks-ifreund]
<leon-p>
chicken cheats the first with inline C and hacks the second by just wrapping malloc/free, guile does both ok but with too much manual type parsing
<leon-p>
and I have to somehow design an API around that...
<leon-p>
or, more realistically, I have to convince myself that it's ok to implement all the features I want to improve the actual design of code / library later :)
<leon-p>
anyway, enough talk, I'll return to this once I have actually a little more to show than a few widget on a blue background :P
lordmzte2 has joined #river
<pinpoxIRC>
heyho, is the matrix channel on river gone?
<pinpoxIRC>
I tried '/join #freenode_#river:matrix.org' but it tells me I'm not invited
<leon-p>
that was never official AFAIK
<pinpoxIRC>
Ok i see
lordmzte has quit [Ping timeout: 268 seconds]
<leon-p>
matrix-IRC bridging is pretty flaky in general, maybe try again later 🤷
lordmzte has joined #river
<Nickli>
ehm... freenode is gone
<leon-p>
oh, yeah of course
<pinpoxIRC>
Just wanted to check in on how the custom window decorations are going? There was some rework being done months/years ago
<leon-p>
check PR 1100 for that
<leon-p>
tldr: not implemented, but planned
<leon-p>
but a lot of other cool stuff in that PR already works, which is kinda fun to play around with
lordmzte2 has quit [Ping timeout: 268 seconds]
<Nickli>
are those in testing or general release?
<Nickli>
... "the cool stuff"
<leon-p>
they are still just in the merge request, very WIP and experimental
<leon-p>
pinpoxIRC: did you have anything specific in mind you want to see / try w.r.t. custom window deco?
<pinpoxIRC>
leon-p: I want to be able to create my own window borders/titlebars
<pinpoxIRC>
similar to what I could previously do on awesomeWM when I used X11
<leon-p>
a window manager will be able to do that, yes
<pinpoxIRC>
you mean with river, right?
<leon-p>
yes, of course. the purpose of that merge request is to add external window managers to river
<leon-p>
you'll have to properly render the deco of course and handle the buffers / surfaces. or use a library
<pinpoxIRC>
Yeah, I was hoping to find a not too complicated way to do custom decorations. I was thinking of experimenting a bit with new designs, e.g. window close/max/min buttons on the side of the windows, or stuff like that
<leon-p>
I see
<pinpoxIRC>
Or for a less specific use-case: to replicate the "tabbed" layout of i3/sway, which needs tabs with the window names to be useful
<leon-p>
that should be perfectly possible, yes
<pinpoxIRC>
How will that actually work? I'm not sure if I understand what I would have to implement.
<pinpoxIRC>
What is a "window manager' in this context
<pinpoxIRC>
or I guess my question is what would river still do in this setup
<leon-p>
a WM will be a client which manages window geometry, defines and handles keybinds and can display desktop widgets
<leon-p>
the actual work is still being done by river, the WM will just dictate actions river will take
<leon-p>
a WM will be able to add arbitrary surfaces to windows. you can render pixels into a buffer and attach that to the surface to display it on screen, just like you'd render to a normal wayland window
<leon-p>
an optimization you could do is render window border plus titlebar once at a fixed size and use view-porter to stretch that around all windows, but that is an implementation detail
<leon-p>
if you like, you can already take a look at how to use a library to render things. cairo is common; I usually use pixman
<leon-p>
or keep up with my WM project, since my plan is to make it quite customizable
<pinpoxIRC>
Thanks for the explanation leon-p
<pinpoxIRC>
Is the PR already usable? Or how would I currently use your WM project?
<ifreund>
It's not usable as a daily driver yet
<ifreund>
it's currently only useful to experiment with
<leon-p>
pinpoxIRC: indeed it's not ready for actually use, however you can already play around with it
<leon-p>
you'll need all the dependencies mentioned in the readme
<leon-p>
and perhaps you need to change `chicken-csc` to `csc` in the makefile
<leon-p>
compile times are a bit slow unfortunately
<leon-p>
then build a river from that PR and run `river -c antares` (insert the right paths, of course)
<leon-p>
you may need to resize the river window once, due to a bug in wlroots I think
<leon-p>
the really interesting thing here is less so the currently implemented featured, but rather that the WM is very hackable since it's written in scheme
<leon-p>
that's the idea at least
elshize has joined #river
Keeto has quit [Remote host closed the connection]
mekeor has joined #river
mekeor has quit [Quit: towards emacs as interface to cybernetic council communism]