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/
waleee has quit [Ping timeout: 246 seconds]
sentry has quit [Ping timeout: 268 seconds]
Snetry has joined #river
eShaev9z has joined #river
eShaev9z_ has quit [Ping timeout: 256 seconds]
angry_vincent has joined #river
upsala has joined #river
<upsala> Hi, I'm having some issues with the 'tags' action of rule-add. I was assuming, that 'riverctl rule-add -app-id "steam" 000001000' would let my steam spawn on tag 4. What I don't understand is why 'riverctl list-rules tags' returns '*      steam   1111101000'. I also tried using 32 bits with the same result
<upsala> Ok small update... 'riverctl rule-add -app-id steam tags 8' gives the wanted result. Is that how it should work? I was reading it completely different.
ninewise has quit [Remote host closed the connection]
angry_vincent has quit [Read error: Connection reset by peer]
ninewise has joined #river
angry_vincent has joined #river
upsala has quit [Quit: Client closed]
upsala has joined #river
angry_vincent has quit [Ping timeout: 252 seconds]
adamcstephens has quit [Remote host closed the connection]
adamcstephens has joined #river
angry_vincent has joined #river
zayd has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
<NickH> It takes an integer as argument not a bit map. See the example config that river ships with.
<NickH> Off topic: I remember some time ago one of the regulars in this channel mentioned a program for displaying pdfs for presentations
upsala has quit [Ping timeout: 250 seconds]
<NickH> My search of the logs has failed... anyone know what I'm talking about?
<NickH> Hmm, maybe pdfpc
angry_vincent has quit [Read error: Connection reset by peer]
<ifreund> NickH: pdfpc is indeed what I have used for that in the past
<NickH> Thanks for confirming. Looks very powerful. Seems to do more than I need.
<NickH> Looking for a replacement for zathura which for some reason has started messing up the display in presentation mode.
angry_vincent has joined #river
leopoldek has quit [Ping timeout: 246 seconds]
upsala has joined #river
<ifreund> I am on my way to a music festival and will be offline until Tuesday or so :)
<novakane> enjoy :)
kraem has quit [Remote host closed the connection]
kraem has joined #river
kraem has quit [Remote host closed the connection]
kraem has joined #river
angry_vincent has quit [Ping timeout: 264 seconds]
mohan43u has quit [Quit: WeeChat 4.2.2]
guest84 has joined #river
guest84 has quit [Quit: Client closed]
<leon-p> have fun!
<leon-p> I have never really found the extra functionality of pdfpc useful, becuse they would require me looking at my laptop screen, which isn't what you want to do during a presentation
<leon-p> so I just use presentation mode of evince and it's been fine
<leon-p> it's easiely the best PDF viewer on linux anyway
<leon-p> you can hover over links to get previous, it has vim-like nagivation binds by default, etc..
mohan43u has joined #river
aryak has joined #river
<NickH> leon-p: I eneded up using evince today. Was chairing a meeting with 10 or so speakers (mix of local and remote) showing their slides and projecting my screen over zoom. Worked well.
<NickH> Think I sill prefer zathura (when it works) but a working evince is *far* better than a non-working zathura.
upsala has quit [Quit: Client closed]
angry_vincent has joined #river
<sewn> Why not use your browser which has a PDF reader
leopoldek has joined #river
<leon-p> because the browsers performance is miserable
<leon-p> and it has no preview on hover for interlinks
<leon-p> and because it's display options are inferior
leopoldek has quit [Ping timeout: 256 seconds]
leopoldek has joined #river
upsala has joined #river
upsala has quit [Quit: Client closed]
<sewn> for every seat, is there a wl_output assigned to it; or is every wl_output assigned a seat
<sewn> rather silly question, but I am asking in the context of the river status protocol
<leon-p> seats and outputs are fully independent
<leon-p> (if you are talking about wl_seat and wl_output, there are other concepts called seat which behave differently)
<leon-p> a wl_seat is a set of input devices, a wl_output is usually a physical screen but can also be f.e. headless
<leon-p> or are you talking about the river-specific feature of output focus?
ccha has quit [Quit: WeeChat 4.3.2]
ccha has joined #river
angry_vincent has quit [Ping timeout: 255 seconds]
upsala has joined #river
waleee has joined #river
belanthor has joined #river
belanthor has quit [Quit: Leaving]
waleee has quit [Ping timeout: 256 seconds]
leopoldek has quit [Ping timeout: 256 seconds]
<sewn> unsure
<sewn> I know the status protocol is being deprecated, but will the futrue protocol allow for 'passthrough' messages?
<sewn> for example, enabling, displaying setting certain settings entirely from riverctl
<sewn> its handy to have it simply for enabling or disabling a bar, since bar control can get very complicated (net socket? FIFO? whaaat?)
<sewn> I don't know how other bars do it
upsala has quit [Ping timeout: 250 seconds]
<leon-p> I think riverctl will also go away, we were never happy with how it works anyway
<leon-p> as for controlling bars, that very much depends on what software you'll be using
<leon-p> some currently existing bars make use of SIGUSR for toggling visibility
<leon-p> a socket and a simple IPC protocol is also possible (especially if the bar is built into the WM directly)
<sewn> leon-p: wait what
<sewn> riverctl is gone??
<sewn> well I mean it will be gone
<sewn> what will replace it then???
<leon-p> I don't see a need for a replacement
<sewn> no how will configuration be performed
<leon-p> via the WM of coursse
<sewn> keybindings n such
<leon-p> also the WMs responsibility
<sewn> leon-p: but you said riverctl will be removed
<sewn> what is the messenged that's going to tell it
<sewn> messenger"
<leon-p> I don't follow?
<leon-p> ah, I see
<sewn> leon-p: "the piece of software for controlling river's configuration and keybindings will go away"
<sewn> who will replace it
<leon-p> let me explain
<leon-p> all window management will be outsourced to external programs, basically turning the current layout generators into full window managers. this in turn means all window management configuration is now also fully in the domain of these window managers. this includes the very few appearance options river has. keybinds need to be part of the window management protocol as well for frame perfection, so keybinds will also need to be configured by the WM.
<leon-p> how the WM chooses to get configuration is irrelevant
<leon-p> it can have a config file
<leon-p> or it could have a socket and it's own ctrl CLI tool
<leon-p> the only thing left that riverctl currently does is input configuration, but there might be a dedicated protocol for that as well
leopoldek has joined #river
<sewn> I'm sorry but why all of this
<sewn> what's the point of river just being some tiny little deck that needs other software to be actually useful
<leon-p> flexibility
<sewn> hm
<sewn> why not split configuration to its own module
<sewn> instead of everything being only in the WM
<leon-p> because that would make no sense
<sewn> why?
<leon-p> the WM already needs it's own configruation anyway
<sewn> I see
<leon-p> and like 90% of rivers configuration is just window management related anyway
<sewn> so the WM needs its own configuration but what about river
<leon-p> the very few things you can configure in river afterwards will likely also be done by the WM
<leon-p> with exceptions
<leon-p> right now you can use f.e. kanshi to configure outputs, that will most cecrtainly still be the case then
<leon-p> and inputs will probably also be configurable with a daemon similar to kanshi
<leon-p> "what's the point of river just being some tiny little deck that needs other software to be actually useful"
<leon-p> think of it the other way around
<leon-p> river is a tool to help make other software useful
<leon-p> both ifreund and I f.e. want to experiment with different window management ideas
<leon-p> that is a lot simpler in high-level languages like f.e. scheme. river in that case is a solid foundation for whatever high-level window manager we create on top
<leon-p> other people may want to create other kinds of desktops. river would be a good foundation to them as well
<leon-p> writing an entire wlroots based wayland server is simple, but also costs lots of time. so with river, people can create their desktops without having to write all of it
<leon-p> that will make river considerably more useful than what it is right now
<leon-p> my plan is to write a C library wrapping all the Wayland boilerplate and exposing a simple API which then can be used in whatever scripting language you prefer
<leon-p> probably won't be done this year though
<leon-p> also WMs will be able to render custom decoratins for windows, so we can finally have skeumorphic window borders again :)
<sewn> why make river X
<sewn> X handles everything except window management and depends on external tools such as a window manager, seem familiar?
<leon-p> I am aware of how X works, I have written software for X long before I jumped onto Wayland
<leon-p> the why is explained above
<leon-p> it's the same reason why we have layout generators instead of hard-coded layouts
<leon-p> the same reason why any software is configurable at all
leopoldek has quit [Remote host closed the connection]