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
<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]