ifreund changed the topic of #river to: river - a dynamic tiling wayland compositor - https://github.com/ifreund/river - channel logs: https://freenode.irclog.whitequark.org/river/
<leon-p> just PR'd a commit introducing a threshold for move/resize requests of tiled XDG views
<leon-p> this will solve the issue of those views unexpectedly starting to float; explanation in PR description
waleee-cl has quit [Quit: Connection closed for inactivity]
gspe has joined #river
<leon-p> hell, just noticed river depends on glib D:
<leon-p> how is that library everywhere?
<leon-p> No, neither systemd nor dbus are the ultimate menace, it's that bloody library.
<ifreund> huh, I wonder what's pulling it in transitively
<ifreund> leon-p: it's libwacom's fault :/
<ifreund> lddtree is pretty neat: https://0x0.st/-XGH.txt
yyp has joined #river
<ifreund> leon-p: here's an alternative proposal for the issue your PR addresses: ignore request_move/request_resize on non-floating views
<ifreund> would be a lot simpler for sure
<yyp> ifreund: why is command to move current window to the top is zoom?
<yyp> riverctl zoom I mean
<ifreund> yyp: well the top of the stack is commonly the most prominant/largest view
<yyp> Ok, how the reverse should be called then?
dominikh has quit [Quit: WeeChat 2.9]
dominikh has joined #river
<yyp> minimize?
dominikh is now known as Guest49066
<ifreund> hrm, I don't see any reason for command to do the opposite tbh
Guest49066 has quit [Client Quit]
<ifreund> the idea with the stack is that you zoom the views you care about which has the effect of automatically sorting the stack roughly by priority
dominikh1 has joined #river
<ifreund> Swap up/down exist, but I personally never use them
<yyp> I sometimes get into situations where I want to push window to the bottom of the stack (something like a man page open). And since there's no way todo that with a script, I thought it should be here
<yyp> *to do
<yyp> nevermind, I forgot that push next on the top window will do the job
<yyp> s/push/swap
dominikh1 has quit [Quit: WeeChat 3.0]
dominikh1 has joined #river
dominikh1 has quit [Quit: WeeChat 3.0]
dominikh has joined #river
<leon-p> ifreund: I am not sure about not allowing tiled views to request move/resize. It's a bit arbitrary, considering keybind+move would still work, and I suspect people who use applications with header bars do tend to expect being able to drag them.
<leon-p> also the threshold does solve this nicely.
<leon-p> with a bit of work the commit could probably even be made a bit simpler
<leon-p> if I can somehow deduplicate the moveThreshold and resizeThreshold, which are basically the same code, I can drop at least a third of the code
<ifreund> I wonder what sway does here
<leon-p> sway ignores it
<ifreund> entirely? that's what my personal preference would be tbh
<ifreund> I wonder how many people complain
<leon-p> not entirely, just for tiled views. floating ones can request move/resize
<ifreund> ah, so what I just suggested :D
<leon-p> if you prefer it, I can change the PR to do just that.
leon-p has quit [Quit: leaving]
leon-p has joined #river
<leon-p> yeah, I think I'll just do that.
<leon-p> ifreund: new PR is out
<leon-p> I did not overwrite the old one so that we have the code if people do complain and have a compelling reason to allow move/resize requests for tiled views
leon-p has quit [Quit: leon-p]
leon-p has joined #river
<ifreund> leon-p: cool, sounds good to me
<ifreund> your code for the threshold isn't terribly complex, but not having makes me even happier :D
<leon-p> yeah :D
<leon-p> now onto the next project: seeing whether libwacom can be liberated from glib...
<ifreund> heh, good luck :)
waleee-cl has joined #river
<leon-p> well, the library is only about 20k, so definitely doable. but they use the glib stuff all over and judging by their github issues/PRs they probably like it that way :/
<leon-p> the actual library appears to be only 2.5k even, but still...
<ifreund> leon-p: probably be good to ping whot in #wayland and talk about it before putting too much time in
<leon-p> no worries, I already abandoned the idea. they use glib in basically every other function and make heavy use of it in the testing suite. It's doable, but I highly doubt such a change would be accepted.
<ifreund> sigh :/
<ifreund> you can probably build libinput without wacom support if you want
<leon-p> probably, but it would just have been for peace of mind anyway. In reality at least 50% of things on any modern Linux installation depends on glib in some way, and I don't think that will change anytime soon.
yyp has quit [Quit: disconnected]
yyp has joined #river
yyp has quit [Client Quit]
yyp has joined #river
yyp has quit [Client Quit]
yyp has joined #river
yyp has quit [Client Quit]
yyp has joined #river
yyp has quit [Quit: disconnected]
yyp has joined #river
yyp has quit [Quit: disconnected]
yyp has joined #river
yyp has quit [Quit: disconnected]
yyp has joined #river
yyp has quit [Quit: disconnected]
yyp has joined #river
gspe has quit [Quit: gspe]
gspe has joined #river
gspe has quit [Quit: gspe]
gspe has joined #river
yyp_ has joined #river
yyp has quit [Ping timeout: 260 seconds]
yyp_ is now known as yyp
yyp has quit [Quit: disconnected]
yyp has joined #river
yyp has quit [Client Quit]
yyp has joined #river
yyp has quit [Client Quit]
yyp has joined #river
yyp has quit [Quit: disconnected]
yyp has joined #river
yyp has quit [Client Quit]
yyp has joined #river
yyp has quit [Client Quit]
yyp has joined #river
yyp has quit [Client Quit]
yyp has joined #river
yyp has quit [Client Quit]
<ifreund> ;5;44~
<dnkl> Shift+,
<dnkl> ?
<dnkl> :)
<ifreund> indeed, someone certianly knows their terminal escapes :P
<dnkl> Not well enough... 5 is ctrl, not shift 😅
gspe has quit [Quit: gspe]