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: 252 seconds]
mtm has joined #river
<ifreund> leon-p: it should work in theory, I dont know if hiding windows works at all yet
palanix has joined #river
<leon-p> ok, (apply foo a b '(c d e)) actually does map to (foo a b c d e), this makes a lot of things a lot easier
haliucinas has quit [Quit: Ping timeout (120 seconds)]
haliucinas has joined #river
palanix has quit [Ping timeout: 245 seconds]
palanix has joined #river
<leon-p> "solved" the rectangle issue by iteratively splitting an area (starting with the output area) into multiple areas, checking how many window center coordinates are inside each sub-area, and repeating with the least occupied one until either a depth N is reached or all sub-areas are empty
<leon-p> An improvement would probably be to include the window corner points in the occupancy count as well, but that's for tomorrow to think about
<leon-p> unfortunately the window dimensions event does not get send for windows that are not shown, so that trick doesn't work yet :(
<ifreund> I can take a look tomorrow
<Nickli> Maña
<Nickli> +na
<ifreund> leon-p: its kinda funny that our sleep schedules seem to be pretty much in sync despite my current time zone being 7 hours behind yours :D
<ifreund> anyhow, good night :)
<leon-p> don't call me out like that
<leon-p> night o7
<Nickli> do tell more :P
wbr has joined #river
wbr has quit [Client Quit]
elshize has quit [Ping timeout: 248 seconds]
wbr has joined #river
<wbr> /
wbr has quit [Quit: WeeChat 4.5.0]
<TheAnachron> I am thinking about writing a mode for river that will let me spawn new terminals with ssh sessions to my dominant devices, so I dont need to ssh "manually" so often. :D
przmk_ has quit [Remote host closed the connection]
przmk_ has joined #river
<larstiq> leon-p: I did say silly. More seriously, with the layout management protocol I had to do hacky things to alter geometry for identified windows, I might have another go at toggling windows to a monocole layout/hiding them completely without otherwise changing the base layout
<larstiq> I very often have ~4-5 windows one one monitor and I just for a couple minutes want to focus on one, or not see one
<Momentum> good morning
<Momentum> anyone had problems with colors in chromium?
<TheAnachron> Momentum: can you specify what problems exactly?
<Momentum> TheAnachron: some colors are basically inverted like red is blue and blue is red
Keeto has joined #river
Keeto has quit [Ping timeout: 252 seconds]
Keeto has joined #river
Keeto has quit [Remote host closed the connection]
<leon-p> that's odd
<leon-p> what's your graphics hardware?
elagost has quit [Quit: WeeChat 4.4.4]
elagost has joined #river
pixavi has joined #river
mtm has quit [Ping timeout: 252 seconds]
Keeto has joined #river
mtm has joined #river
pixavi has quit [Ping timeout: 240 seconds]
<Momentum> leon-p: intel hd and it's not being used
Keeto has quit [Ping timeout: 244 seconds]
notzmv has quit [Ping timeout: 265 seconds]
elshize has joined #river
Keeto has joined #river
Keeto has quit [Ping timeout: 252 seconds]
notzmv has joined #river
<bwbuhse> I have a tag I use as a scratchpad. I have a keybind to toggle that tag on/off and another to move windows to it. Is there an easy way to move windows out (besides just sending them to whatever tag)? i.e. something like set the tags on a window to all the active tags (except the scratchpad tag)? I'm thinking no until rwm protocol but just wondering
elshize has quit [Ping timeout: 265 seconds]
ramblurr has quit [Ping timeout: 248 seconds]
ramblurr has joined #river
notzmv has quit [Ping timeout: 265 seconds]
<ifreund> leon-p: your hide/propose_dimensions(0,0) trick should work now
<ifreund> bwbuhse: I don't think there is any way to have an acually ergonomic scratchpad with river currently
<ifreund> there are lots of half solutions floating around, but iirc the focus behavior of river makes them pretty annoying to use
<ifreund> scratchpads are one of those things I don't personally use or care about
<ifreund> the rwm protocol is my way of making such things possible for others to implement without needing to review/maintain the code myself
ccha has quit [Ping timeout: 265 seconds]
palanix has quit [Ping timeout: 265 seconds]
rodger has quit [Ping timeout: 265 seconds]
rossabaker has quit [Ping timeout: 265 seconds]
palanix has joined #river
ccha has joined #river
rodger has joined #river
rossabaker has joined #river
<bwbuhse> ifreund: yeah fair enough, thanks! I don't even use it super often but occasionally I use it just to put a floating window in and toggle it on/off when I need
elshize has joined #river
<bwbuhse> that's even worked totally fine for me for a while now, I was just thinking about it when trying to move a window out earlier and figured I'd ask
wreed has joined #river
<leon-p> ifreund: nice, thanks!
<leon-p> now I can (almost) stop trying to overengineer initial positions of floating windows for a reference window manager
<leon-p> the only thing bothering me right now, apart from the missing stuff of course, is that the output dimensions event sends the wrong dimensions at first (0,0) so I always have to resize the river window for stuff to work
<ifreund> leon-p: hmm, I'm pretty sure that's a quirk of the wayland backend
<leon-p> oh
<ifreund> perhaps we can work around it somehow though
<ifreund> wait, are you sure about that?
<ifreund> output dimensions seem to be sent properly for me
<leon-p> ifreund: do you have the river window floating or tiled? Bec. I have all wlroots windows auto-floating so they don't get a second configure
<leon-p> after resizing the window once, it works fine
<ifreund> tiled, I'll try floating
<ifreund> yeah, can confirm the 0,0 when it's floating
<ifreund> kinda seems like a wlroots bug to me
<leon-p> makes sense
Keeto has joined #river
wreed has quit [Remote host closed the connection]
notzmv has joined #river
wreed has joined #river
wreed1 has joined #river
wreed1 has quit [Client Quit]
wreed1 has joined #river
wreed has left #river [#river]
elshize has quit [Quit: elshize]
elshize has joined #river
Keeto has quit [Ping timeout: 265 seconds]
catman has quit [Ping timeout: 244 seconds]
Keeto has joined #river
Keeto has quit [Ping timeout: 248 seconds]
catman has joined #river
wickedlester has joined #river
mekeor has joined #river
wickedlester has left #river [#river]
notzmv has quit [Ping timeout: 265 seconds]
<leon-p> ooohhh, I really like that multiple windows can be moved at once. For a floating WM, a user could f.e. click-drag to draw an area and move multiple selectedd windows at once
<leon-p> Now I only need to implement that selection ui, I guess
<leon-p> although I am wondering whether resize/move could be the same operation globally, so that you don't have resize_add_window but pointer_operation_add_resize. I.e. allowing both resizing and moving simultaneously
<leon-p> either way, I'll have fun with it
mekeor has quit [Ping timeout: 276 seconds]
<ifreund> leon-p: resize_add_window requires edges, move doesn't
<ifreund> we could model move as a resize with all edges set I guess, it feels a bit hacky though
<ifreund> also, click-drag to select an area isn't possible with the current protocol
<ifreund> I have thought about sending absolute pointer coordinates when a pointer binding is triggered though
<leon-p> you could have a surface above all windows where you do the actual selection, like slurp does
<ifreund> oh, yes that should work I guess
<ifreund> let the hacks done with river_shell_surface_v1 begin
<ifreund> do you have a use-case for moving and resizing at the same time?
<leon-p> Not one I would actually do myself
<leon-p> but I wondered about "attaching" one window to the side of a another window. Resizing the "host" should move the attached window, maybe
<ifreund> I think I figured out what you mean, we could have op_start_pointer, op_start_serial, op_add_resize_window, op_add_move_window, op_end
<leon-p> again, not something I am actually do / use
<leon-p> s/am/will/
<ifreund> I did dislike how much protocol text is duplicated between the new requests, so I may change to that simply because it's cleaner design
<leon-p> yay for hygiene