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/
mtm has quit [Ping timeout: 265 seconds]
mtm has joined #river
lordmzte5 has joined #river
lordmzte has quit [Ping timeout: 252 seconds]
lordmzte5 is now known as lordmzte
<leon-p> huh, so the senpai IRC client somehow sets foots app-id?
<leon-p> anyway, it's quite nice how quickly I can implement window management policy in scheme; That feature I talked about earlier is already implemented
<leon-p> and it does work quite nice for things like IRC. Alt-i to check irc, Alt-i again to hide the irc window and return to whatever I was doing previously
<leon-p> also the decission to move state into the C library was a success as well: the state alist I had previously would have been really unwieldy. Instead if I now want extra state, I can just add the window to another list or something, data oriented design without the efficiency I guess
<leon-p> also really loving that if-let macro, simplifies control flow so much, no idea why that isn't part of scheme already
catman has quit [Ping timeout: 248 seconds]
catman has joined #river
catman_ has joined #river
catman has quit [Ping timeout: 246 seconds]
palanix_ has joined #river
palanix has quit [Ping timeout: 248 seconds]
palanix_ is now known as palanix
Snetry has quit [Ping timeout: 246 seconds]
Snetry has joined #river
elshize has quit [Ping timeout: 260 seconds]
Keeto has joined #river
Keeto has quit [Ping timeout: 252 seconds]
Keeto has joined #river
Keeto has quit [Quit: Lost terminal]
Keeto has joined #river
pkap has quit [Quit: Left]
notzmv has quit [Ping timeout: 245 seconds]
Keeto has quit [Ping timeout: 276 seconds]
mtm has quit [Ping timeout: 276 seconds]
Keeto has joined #river
mtm has joined #river
Keeto has quit [Ping timeout: 264 seconds]
ramblurr has quit [Ping timeout: 245 seconds]
Keeto has joined #river
ramblurr has joined #river
<szgy> <3
<szgy> ifreund: is river_shell_surface a sort of client that implements wlr-layer-shell?
<szgy> (meaning I could add this fzy-layer-shell as a component of the wm?)
<szgy> leon-p: pretty cool that Alt+i keybind for IRC. how is it that "i" gets map to IRC? if you're using senpai, wouldn't it be Alt+s ? (and it tries to match a window with title "s*"?)
<leon-p> szgy: because the WM allows to explicitly binds Alt-[a-z] as well, which overrides the implicit binding. I bound A-i to (focus-or-hide-or-run "senpai" "foot senpai &), which tries to focus or hide the terminal running senpai, or if that does not exist, runs the given command to spawn it
<leon-p> szgy: river_shell_surface is a replacement for layer-shell, so that WMs have more flexibility in positioning their custom UI
<szgy> ohh, right
<szgy> what would be the 'implicit binding'? binding of the selected window e.g.??
<szgy> like, a program has some binding, but if you pressed smth like Alt+i, the wm takes over?
<leon-p> no, the reference WM implicitly binds Alt-[a-z] to (focus-or-hide-by-prefix x) where x is the letter as a string
<leon-p> also that cadddr is a great illustration of why Lisps really should just have syntax suger for accessing lists at indeces
erebus has joined #river
<leon-p> szgy: btw, did you see that window/output/seat state is now inside the C lib and that you can cast the object ptr to a state ptr to access it? Curious to know how well / ergonomic that is from LuaJit
erebus has quit [Quit: leaving]
<leon-p> anyway, I'll be off for one or two hours, need to take advantage of the wheather and go for a walk, later
<szgy> leon-p: haven't pulled from antares for a while! will do soon but havent had the time. Is that struct 'fixed'? or does it allow to add custom state to it?
<szgy> I've been handling state from the lua side, and its not thaat baad, but yeah, keen to try state managing from c side
<szgy> also yeah, my usual bond with lisp/scheme ends on `caddrdddraar`; thats why I prefer lisp-like langs like fennel or janet... (which also adds syntax sugar for lists and hash-maps)
<szgy> later!
Keeto has quit [Ping timeout: 245 seconds]
siaal has quit [Quit: ZNC - https://znc.in]
siaal has joined #river
catman_ has quit [Ping timeout: 265 seconds]
pkap has joined #river
lordmzte7 has joined #river
lordmzte has quit [Ping timeout: 252 seconds]
lordmzte7 is now known as lordmzte
catman has joined #river
marcelleismann has joined #river
<marcelleismann> clear
glenneth has quit [Ping timeout: 272 seconds]
glenneth has joined #river
catman has quit [Read error: Connection reset by peer]
Industrial has joined #river
<Industrial> Hi. I just found River, and I'm loving it. I like the ctl cli design, makes it very flexible. I'm wondering about two things. 1) I guess, since there's a bash script ran for configuring it, restarting it is hard, so I have to quit and re-login? 2) I would like to bind Super+H/L to next/previous tag and Super+Control+H/L to Swap Client to Next/Previous Tag. Is that possible?
catman has joined #river
pkap has quit [Quit: Left]
<Industrial> riverctl map normal <Mod> PERIOD send-next-tag
<Industrial> riverctl map normal <Mod> COMMA send-previous-tag
<Industrial> found it :)
pkap has joined #river
Industrial has quit [Quit: WeeChat 4.5.1]
Industrial has joined #river
<Industrial> Nope, that didn't work.
catman has quit [Quit: WeeChat 4.5.1]
Industrial has quit [Quit: WeeChat 4.5.1]
<szgy> Industrial: if you want to reload the config, just re-run the bash script! I don't think there are controls for next/previous tag, only a specific tag
<szgy> leon-p: tried using all the state from the c side and went pretty well! (need to undone some state handling on the lua side still). Once I figured out the syntax to cast between pointer types everything went pretty smooth
<szgy> only 'inconvenience' is to cast between state and 'thing' (window, output, seat) and back for different uses
<szgy> next-up, binds
catman has joined #river
elshize has joined #river