<coreopen>
Greetings. Looking for feedback : Alpine Edge ; apk add river ; I get .. ERROR: unable to select packages:\n so:libdisplay-info.so.1 (no such package)
<coreopen>
update: seems my issue is tied to wlroots
<coreopen>
"its an alpine issue "
coreopen64 has joined #river
coreopen64 has quit [Client Quit]
<bwbuhse>
senoraraton can’t help much more rn but I use River on gentoo. Try looking at the sway gentoo wiki page and there’s some stuff about dubs I think
<bwbuhse>
dbus*
senoraraton has quit [Quit: Lost terminal]
elshize has quit [Ping timeout: 260 seconds]
mtm has joined #river
notzmv has quit [Ping timeout: 265 seconds]
<TheAnachron>
senoraraton: if you want help, pastebin your setup and error message. :-)
pinpoxIRC has quit [Ping timeout: 248 seconds]
elshize has joined #river
pinpoxIRC has joined #river
pinpoxIRC has quit [Ping timeout: 265 seconds]
pinpoxIRC has joined #river
pinpoxIRC has quit [Ping timeout: 248 seconds]
mtm has quit [Ping timeout: 252 seconds]
mtm has joined #river
pinpoxIRC has joined #river
mohan43u has left #river [ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.3)]
KamWithK has joined #river
<KamWithK>
Wondering how difficult it would be to create a layout which tiles based on the currently focused window?
<KamWithK>
I.e. Compare current windows width and height and based on that split it horizontally or vertically
<Nickli>
like some sort of dynamic main focus?
<KamWithK>
Yeah
<KamWithK>
Kinda
<KamWithK>
Like if I currently have my screen split in half and I'm focused on the left split the new window would be next to the left hand side one, but if I started with my focus on the right split then the new window would turn up on the right side
<KamWithK>
Hyprland does something similar
<KamWithK>
Not sure if that makes sense? Kinda hard to explain aha
<Nickli>
not sure, might not be possible and probably would be something for a custom layout
<Nickli>
*possible yet
<KamWithK>
Yeah I was looking to create a custom layout with something like this:
<Nickli>
think i misunderstood, you'r second explanaition make it sound similar to default behaviour in how sway/i3 splits
<KamWithK>
Those are manual tilers
<KamWithK>
I'm talking dynamic
<KamWithK>
From my understanding Sway/i3 you specify whether to split horizontally or vertically
<KamWithK>
Whereas the type of layout I want to create it's based of whether there is more vertical or horizontal free space in the currently focused window, chuck the new window there
<leon-p>
KamWithK: layout generators do not know which window in the layout is focussed, so layouts can't depend on that
<leon-p>
you can kinda hack it though
<leon-p>
by having your keybinds for cycling focus up/down also send a command to your layout generator to cycle its main window
<leon-p>
will immediately break if you use the mouse to focus anything, of course
<KamWithK>
why would mouse break it?
<leon-p>
it would de-sync the real focus state with what your layout generator thinks is focused state
<KamWithK>
oh
<leon-p>
honestly, you're best off waiting for #1100
<KamWithK>
can riverctl give the current focused window?
<leon-p>
there is a protocol to get the title of the currently focused window and you could also do it with the foreign-toplevel-management protocol
<leon-p>
however
<leon-p>
there is no way to link that information to the layout protocol
<leon-p>
i.e. you know the name, app-id, etc. of the focused window, but you don't know its position in rivers window stack
<leon-p>
^ config and layout entirely in guile scheme
<KamWithK>
I've seen that linked before nice
<leon-p>
the layout is based on arranging windows into sublayouts, which in turn are arranged into a meta-layout
<KamWithK>
I use NixOS though so I don't think it'd work too well for me aha
<leon-p>
and because scheme is a lisp-1, i.e. first class functions, I can define a function which turns the sublayout function into a meta-layout function
<KamWithK>
What do you mean by sublayouts?
<leon-p>
f.e. arrange the first N windows in rows, the last windows like a stack of cards. those are sublayouts, they care about window geometry within their own bounds. the meta layout then arranges sublayouts on the screen
<KamWithK>
Oh that's interesting
<Nickli>
i havent seen anyone mention the scroll through windows feature Vista had in a long time, that could be an interesting one to reimagine
<Nickli>
not really related to river but
<KamWithK>
Feel like the most unique tiling experience is Niri but I haven't tried it yet
<Nickli>
yeah and Hikari did something different, maybe more of an old idea tho
<ifreund>
isn't niri a PaperWM clone?
<ifreund>
probably I dont know what Im talking about
<leon-p>
it is
<KamWithK>
I meant the concept haha
<KamWithK>
Yeah it is
<leon-p>
however it's better than the original
<KamWithK>
But like scrolling tiling window managers aren't common I don't think
<leon-p>
paperwm has to fight against the gnome shell model and as such doesn't really work with multiple monitors, or tbh at all
<leon-p>
not sure something like that would be possible with the scene graph though
<Nickli>
did see a neat one done in openbox where they had their screen split into 3 vertical, but they changed size when focused, which they did via dedicated keybind Super + Q,W,E (or something)
<KamWithK>
oh wow
<Nickli>
Q = Left , W = Middle, E = Right window
<KamWithK>
that would be awesome if that was possible to automate
<Nickli>
left was emacs that would change horizontal size if focused or not
<Nickli>
all done via xdotool, iirc
KamWithK has quit [Remote host closed the connection]
Guest81 has joined #river
Guest81 has quit [Quit: Client closed]
graves has quit [Read error: Connection reset by peer]
graves has joined #river
notzmv has joined #river
lordmzte4 has joined #river
lordmzte has quit [Ping timeout: 255 seconds]
lordmzte4 is now known as lordmzte
ccha has quit [Quit: WeeChat 4.4.3]
ccha has joined #river
Guest25 has joined #river
Guest25 has quit [Quit: Client closed]
rrix has quit [Remote host closed the connection]
rrix has joined #river
rrix has quit [Remote host closed the connection]
rrix has joined #river
Guest85 has joined #river
Guest85 has quit [Client Quit]
aktina has quit [Ping timeout: 276 seconds]
sewn has quit [Ping timeout: 252 seconds]
aryak has quit [Ping timeout: 260 seconds]
adamcstephens has quit [Remote host closed the connection]