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/
danyspin97 has joined #river
leon-p has quit [Quit: leaving]
waleee-cl has quit [Quit: Connection closed for inactivity]
_whitelogger has joined #river
travankor has joined #river
travankor has quit [Remote host closed the connection]
travankor has joined #river
travankor has quit [Remote host closed the connection]
travankor has joined #river
travankor has quit [Remote host closed the connection]
travankor has joined #river
travankor has quit [Remote host closed the connection]
travankor has joined #river
travankor has quit [Remote host closed the connection]
travankor has joined #river
travankor has quit [Remote host closed the connection]
travankor has joined #river
travankor has quit [Ping timeout: 240 seconds]
travankor has joined #river
travankor has quit [Remote host closed the connection]
travankor has joined #river
waleee-cl has joined #river
travankor has quit [Quit: travankor]
leon-p has joined #river
leon-p has quit [Ping timeout: 272 seconds]
leon-p has joined #river
exception has joined #river
exception has quit [Client Quit]
exception has joined #river
exception_ has joined #river
exception_ is now known as job
job has quit [Ping timeout: 240 seconds]
exception has quit [Ping timeout: 264 seconds]
exception has joined #river
job has joined #river
travankor has joined #river
travankor has quit [Remote host closed the connection]
travankor has joined #river
edrex has joined #river
travankor has quit [Ping timeout: 240 seconds]
<edrex> hi all!
<edrex> just moved over from sway, and things are working nicely so I think I'm going to stay awhile and idle on irc etc
<edrex> I'm interested in learning can be done with custom layouts. I don't have a history with dwm, but I used awesomewm for a long time about 15 years ago. After that I moved to xmonad. I do like the ability to have hidden windows in layouts, like i3 tabs etc. I'm wanting to understand what's possible with river layouts.
<leon-p> edrex: Ok, basically all windows in a layout are represented by a simple linear list. Your layout generator gets certain values: amount of windows, amount of main windows (hint, can be ignored), size of main area (also just a hint), width and height of useable area and in the near-ish future the app-id and title of the windows.
<leon-p> With this information, your layout generator can output window dimensions
<edrex> any recommended reading for dwm terminology? I see "monocle", "tags", etc. A glossary style resource would be handy
<leon-p> windows can be placed however you like, following whatever rules, algorithms and religions you like
* edrex listens
<leon-p> however logically they are still a simple list. there is no tree. you can focus back and forth and thats it
<leon-p> you may want to read river-layouts.7 while it's still there
<edrex> can a window be hidden?
<edrex> will do, ok
<leon-p> You can't have a window not be displayed, but if a window is behind another, it is technically hidden
<leon-p> also careful, the way layouts work will change a bit with a PR I am working on right now
<leon-p> as for terminology, "monocle" simply refers to a kind of layout, not used in river
<leon-p> "tags" are more complicated.
<leon-p> basically river has no workspaces
<leon-p> Instead both outputs and windows have tags
<leon-p> these are bitfields.
<edrex> it would be nice if hidden windows didn't get rendered/get reduced redraw rate. IDK details of rendering pipeline but my impression is hidden windows in sway don't use much cpu rendering
<edrex> the tags thing I think I understand from man dwm
<leon-p> river has 32 tags, btw
<leon-p> but you don't have to use them all :)
<edrex> oh, it seemed from man riverctl that there were only 8 bits
<leon-p> ?
<leon-p> that would be a mistake
<leon-p> tags have the type u32
<leon-p> anyway, if there are other terms you'd like to have explained, don't hesitate to ask
<edrex> oh actually the example in the manpage has 9 bits.
<leon-p> regarding hidden windows: currently they do get rendered even if hidden, but ifreund mentioned that he'd like to work on damage tracking in the near-ish future, which would solve that
<edrex> nods
<edrex> i wonder what size surface hidden tab views are given in sway. I imagine it's the size they're have when shown
<edrex> OT: i have an ambition to create a heirarchical compositor that is integrated tightly with a context tracking service (so different branches can have different tags associated with them - still a bit fuzzy but I have some simpler interface prototypes planned to flesh out the design). Basically I want to be able to track the change over time in a tree representing the various tasks and views i have open, and feed that into an
<edrex> archival storage that I can search. among other things..