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/
elshize has quit [Ping timeout: 260 seconds]
elshize has joined #river
traidare has quit [Ping timeout: 264 seconds]
orfeas194 has quit [Ping timeout: 256 seconds]
Guest3 has joined #river
Guest3 has quit [Client Quit]
uncomfy has joined #river
mohan43u has quit [Quit: WeeChat 4.0.4]
uncomfy has quit [Ping timeout: 260 seconds]
mohan43u has joined #river
waleee has quit [Ping timeout: 252 seconds]
eShaev9z has quit [Ping timeout: 255 seconds]
eShaev9z has joined #river
uncomfy has joined #river
uncomfy has quit [Ping timeout: 244 seconds]
uncomfy has joined #river
leopoldek has quit [Remote host closed the connection]
elshize has quit [Ping timeout: 252 seconds]
uncomfy has quit [Ping timeout: 244 seconds]
uncomfy has joined #river
notzmv has quit [Ping timeout: 255 seconds]
emersion has quit [Remote host closed the connection]
emersion has joined #river
emersion has quit [Remote host closed the connection]
emersion has joined #river
angry_vincent has joined #river
uncomfy has quit [Ping timeout: 244 seconds]
uncomfy has joined #river
notzmv has joined #river
uncomfy has quit [Quit: uncomfy]
uncomfy has joined #river
uncomfy has quit [Client Quit]
uncomfy has joined #river
uncomfy has quit [Client Quit]
uncomfy has joined #river
uncomfy has quit [Client Quit]
traidare has joined #river
uncomfy has joined #river
uncomfy has quit [Client Quit]
uncomfy has joined #river
uncomfy has quit [Client Quit]
uncomfy has joined #river
LarstiQ has joined #river
<LarstiQ> Hello! In my quest to migrate from awesomewm so far riverwm seems the most promising. I've cobbled together my own layout generator with inspiration from looking at stacktile/contrib dir/Nick Hasting gist/waybar code. A monocle layout covers a large part of my maximized-window usage, but for minimized-window being skipped over by focus-view it seems I'd need coperation from command/view_operations.zig
<LarstiQ> getTarget, is that right?
<leon-p> minimized windows aren't a thing on river and I am not sure it's a concept that will be added
<leon-p> instead you could move them to a different tag
<LarstiQ> Ah, I really really miss them for views I don't want to see _most_ of the time (say stdout of firefox). I could move them to a different tag to get them out of the way but then getting them back is a bit harder with many. Thanks, I'll try it!
<LarstiQ> leon-p: another thing from awesomewm I'm trying to get back is a list of views on the current tag, waybar's wlr/taskbar shows all views on the output which is unusable. Any pointers for how I should go about that?
<leon-p> not possible right now unfortunately
<leon-p> will likely be addressed in the future, but there needs to be some infrastructure first which may take a while
<LarstiQ> right
<LarstiQ> It makes monocle switching a bit more tedious, maybe I'll try to implement something like the idea from https://github.com/riverwm/river/issues/26 in my generator
<LarstiQ> leon-p: as a total Zig newbie, I don't suppose that's infrastructure I can help out with soon?
<leon-p> it's mostly wayland related things, not zig code, that needs to be createdd
<LarstiQ> an even steeper climb :)
<leon-p> river needs an implementation of ext-foreign-toplevel-list for unique window IDs, then we need another protocol extension to add river tags to the toplevel handles (toplevel == window in this context)
<LarstiQ> thanks for your answers! This should already give me a nicer experience than Sway, for my fossilized usage patterns
<leon-p> have fun!
<LarstiQ> is that protocol extension a PR to wayland-protocols? I've read some of them and they don't seem to move super fast
<leon-p> the ext-foreign-toplevel-list protocol already exists and has been shipped upstream
<leon-p> the river specific protocol is something only river cares about, so no need to upstream it
<LarstiQ> aha!
<leon-p> we would have been a bir closer if I had managed to find the time to get the right wlroots PR merged, but oh well 🐦
<LarstiQ> no worries, I'm chronically low on time, know how that is
orfeas194 has joined #river
aryak_ has quit [Ping timeout: 260 seconds]
aryak_ has joined #river
emersion has quit [Ping timeout: 256 seconds]
emersion has joined #river
waleee has joined #river
uncomfy has quit [Remote host closed the connection]
nr1cer has joined #river
nr1cer has quit [Quit: WeeChat 4.1.1]
elshize has joined #river
notzmv has quit [Ping timeout: 256 seconds]
notzmv has joined #river
leopoldek has joined #river
leopoldek has quit [Ping timeout: 260 seconds]
zdykstra has quit [Ping timeout: 264 seconds]
<leon-p> ages ago we talked / fantasized about doing layouts in lisp
<leon-p> well, I did a thing: https://git.sr.ht/~leon_plickat/riverguile/
<angry_vincent> wow :)
<leon-p> it allows you to define layouts in guile scheme
<leon-p> it's not perfect and my scheme is rusty, but it works
<leon-p> I chose guile over janet because it's ubiquitous
<waleee> I didn't know that gcc requires guile, I thought it was (g)make that brought it onto most linuxes
<waleee> hmm alpine didn't include it in gcc though
<leon-p> don't stare too long at gcc, it might stare back
<waleee> must be the flag that enables makefiles to be able to be guile-scripts that brings it in in both gcc and make
<novakane> leon-p: nice, funny enough I played with guile and Janet this week and thought about making this later too :P
zdykstra has joined #river
kotto has joined #river
leopoldek has joined #river
zdykstra has quit [Ping timeout: 268 seconds]
tiosgz has joined #river
<tiosgz> ooh, nice. guess i can nuke that old thing of mine that was bad from the start.
<tiosgz> i thought i would do something for school, but now i need to yet again replicate the thing that you get with rivertile, anyway
<tiosgz> which is why i absolutely need other layout generators /facepalm
tiosgz has quit [Quit: tiosgz]
<novakane> tiosgz: oh lespa right? I cloned it someday but never take the time to try it lol
notzmv has quit [Ping timeout: 256 seconds]
orfeas194 has quit [Remote host closed the connection]
zdykstra has joined #river
traidare has quit [Ping timeout: 256 seconds]
andyrtr has quit [Quit: ZNC 1.8.2 - https://znc.in]
andyrtr has joined #river
tiosgz has joined #river
<tiosgz> novakane: yeah, that thing. it is useless for most use cases and the periodic idea makes stuff jump around... which didn't really motivate me to continue
<tiosgz> i still have a redesign draft somewhere, but couldn't make it nice enough that i'd bother with implementation (which was a whole different issue)
<tiosgz> so it's nice to see a way shorter (in sloc), but also way more flexible thing with a lispy syntax :)
<tiosgz> (actually, with a lisp syntax, unlike that lisp/y/ syntax of mine)
<tiosgz> also, cool that i'm not the only one who clones any layout generator they come around but never tries it
<novakane> yeah I wanted to try yours because of the lispy syntax but an actual lisp and even scheme is better
<novakane> hehe yeah I try to look around what's going on the layout generators world but I don't always have the motivation :P
<vimproved> leon-p: oh my god i've wanted this for so long
<vimproved> waleee: neither gcc nor gmake should depend on guile pretty sure
<waleee> vimproved: many if not most distributions enable the guile flag for gmake, which introduce a dependency on guile
<vimproved> oh i see
<vimproved> yeah i don't have it enabled because gentoo
<waleee> the distro I use also had guile in a "whatrequires" for gcc, which is probably for more circumspect reasons
<novakane> leon-p: is landlock required, can't compile with it, but doesn't seem to break if I remove the include
<leon-p> oh, leftover include from copy-pasting the wayland logic
<leon-p> might be an interesting idea, but I don't think guile will like it
<novakane> leon-p: well I don't like it either :P
notzmv has joined #river
plusgut has joined #river
<tiosgz> leon-p: fyi riverguile will error with a non-integer number. in addition to inexact_to_exact, round_number is needed in the conversion
<tiosgz> (inexact_to_exact is still needed; just tried to go without it)
<leon-p> huh, I was under the impression inexact_to_exact also rounds, at least that's what reading the docs lead me to believe
<tiosgz> nah, it just converts 1.2 to 5404319552844595/4503599627370496
<leon-p> it's been ages since I've "seriously" used scheme
<tiosgz> btw rounding is also weird, but whatevs (2.5 -> 2, 3.5 -> 4)
<leon-p> scheme rounds to the closest natural number, or to the even one if directly inbetween
<tiosgz> seems like i'll have to have a closer look at the lisp family... when i have time, lol
<leon-p> lisp is fun
<leon-p> btw, feel free to share any layout scripts. I might set up a contrid dir in the repo or something
aryak has quit [Ping timeout: 256 seconds]
aryak_ is now known as aryak
tiosgz has quit [Quit: tiosgz]
aryak has quit [Remote host closed the connection]
aryak has joined #river
aryak has quit [Remote host closed the connection]
plusgut has quit [Ping timeout: 250 seconds]
orfeas194 has joined #river
hspak has quit [Ping timeout: 264 seconds]
notzmv has quit [Ping timeout: 256 seconds]
hspak has joined #river
Guest403232323 has joined #river
<Guest403232323> Hello!
Guest403232323 has quit [Quit: Client closed]
Misthios has quit [Remote host closed the connection]
Misthios has joined #river
notzmv has joined #river
leopoldek has quit [Ping timeout: 260 seconds]