ifreund changed the topic of #river to: river - a dynamic tiling wayland compositor || https://github.com/riverwm/river || channel logs: https://libera.irclog.whitequark.org/river/
lbia has quit [Ping timeout: 260 seconds]
lbia has joined #river
snakedye has joined #river
snakedye has quit [Ping timeout: 248 seconds]
snakedye has joined #river
snakedye has quit [Ping timeout: 268 seconds]
waleee has quit [Ping timeout: 250 seconds]
waleee has joined #river
snakedye has joined #river
snakedye has quit [Ping timeout: 264 seconds]
catman has quit [Remote host closed the connection]
catman has joined #river
snakedye has joined #river
snakedye has quit [Ping timeout: 268 seconds]
snakedye has joined #river
jao has quit [Ping timeout: 260 seconds]
snakedye has quit [Ping timeout: 268 seconds]
waleee has quit [Ping timeout: 248 seconds]
snakedye has joined #river
snakedye has quit [Ping timeout: 268 seconds]
jao has joined #river
eShaev9z_ has joined #river
elshize has quit [Ping timeout: 268 seconds]
eShaev9z has quit [Ping timeout: 268 seconds]
jao has quit [Ping timeout: 268 seconds]
jao has joined #river
snakedye has joined #river
snakedye has quit [Ping timeout: 248 seconds]
snakedye has joined #river
snakedye has quit [Ping timeout: 268 seconds]
jao has quit [Ping timeout: 260 seconds]
Ordoviz has joined #river
lbia has quit [Ping timeout: 248 seconds]
lbia has joined #river
StopNGo has quit [Ping timeout: 260 seconds]
StopNGo has joined #river
Ordoviz has quit [Ping timeout: 248 seconds]
Ordoviz has joined #river
george has joined #river
george has quit [Quit: ZNC 1.8.2 - https://znc.in]
norkki has quit [Remote host closed the connection]
StopNGo has quit [Ping timeout: 268 seconds]
talismanick has quit [Ping timeout: 264 seconds]
<ccha> hello, river is rrunning inside foot can I run riverctl? I got error connectFailed.
<ifreund> ccha: riverctl requires WAYLAND_DISPLAY to be set in order to communicate with river. This is set by river for all programs it starts
<plumeus> did you run riverctl inside the nested instance? What you're trying to do should be possible though
<ccha> from tty, I type river, inside river Super+Shift Return, inside fooot then I want to test some rivectl command before to put inside init. avoid change to edit init, start river, stop river again and again
<plumeus> I don't get what "avoid change to edit" means and why you would need to restart river to test a new config.
<ccha> how I can apply new changes in init without restarting river?
<ccha> I don't need to restart river?
<plumeus> Well, I personally just use `riverctl` to set or unset any config I change, see if it works like intended, and add that command to the init files (assuming you use a shell script)
<plumeus> No need to restart unless you want to be very sure that you didn't write the config correctly.
<plumeus> You could also just run the init file within River instead of restarting
<plumeus> Which won't unset certain stuff, obviously
<plumeus> And it might run certain programs you only want to run at startup, but I try to separate those to a different script and only call it if it isn't already running.
<plumeus> I guess you'll probably have to restart river if you wanted to set a new env var inside it.
<ccha> oh I need WAYLAND_DISPLAY=wayland-1
<dagle> Trying to write a gobject for rivertile and I think I understand it now.
Ordoviz has quit [Ping timeout: 248 seconds]
<dagle> If you re-export handle_command is there a reason to split up user_command and user_command_tags? Because that is for historic reasons?
snakedye has joined #river
snakedye has quit [Ping timeout: 268 seconds]
<novakane> user_command_tags and user_comment are two different events in the protocol, so you need to handle both
<novakane> user_command_tags doesn't do anything in rivertile though
<novakane> then I don't know anything about gobject so I could misunderstand your end goal
<dagle> novakane: I know what they are, the question if when I re-export them, is there a reason not make them into one signal.
<dagle> novakane: gobject is an object system for C. With it you can generate bindings for other languages. So you get free python, lua, C#, java bindings etc.
<novakane> hmm why do you make bindings for rivertile instead of the river-layout protocol?
im has joined #river
<dagle> Oh, I meant for the river-layout protocol.
im has quit [Client Quit]
im has joined #river
<dagle> I used the rivertile in a broader term.
<novakane> oh okay, then yeah you need both because river gonna send both events, and they don't do exactly the same things, it's better to have both and then ignore the one you don't want client side
<tiosgz> they don't do anything similar at all, for the record (one gives the user command, the other gives the focused tags at the time of sending the command)
<tiosgz> apparently there's a copy-paste error in the description summary though
<tiosgz> :)
<novakane> ah yeah, I never used this event
<novakane> oh right it sends a uint I missed that
<dagle> So if you load it into lua, this is the difference in the exported interface. https://paste.rs/LuA
<dagle> It's pretty much the same for python
snakedye has joined #river
snakedye has quit [Ping timeout: 268 seconds]
im has quit [Ping timeout: 244 seconds]
<novakane> the two user_command are not send at the same time though
<novakane> you'll probably end with some weird things in the second case
Ordoviz has joined #river
elshize has joined #river
Ordoviz has quit [Ping timeout: 268 seconds]
Ordoviz has joined #river
snakedye has joined #river
snakedye has quit [Ping timeout: 264 seconds]
snakedye has joined #river
snakedye has quit [Ping timeout: 248 seconds]
snakedye has joined #river
gwizon has joined #river
<dagle> I can't see how.
<dagle> It handles a user_command_tag, set a variable, when a user_command happens it handles it and sends a signal with the command and the tag saved.
snakedye has quit [Ping timeout: 268 seconds]
<dagle> user_command and user_command_tag isn't wayland events. They are signals that just share names.
snakedye has joined #river
im has joined #river
snakedye has quit [Ping timeout: 268 seconds]
im has quit [Quit: Client closed]
jao has joined #river
snakedye has joined #river
snakedye has quit [Ping timeout: 268 seconds]
snakedye has joined #river
elshize has quit [Ping timeout: 264 seconds]
snakedye has quit [Ping timeout: 252 seconds]
snakedye has joined #river
snakedye has quit [Ping timeout: 252 seconds]
snakedye has joined #river
snakedye has quit [Ping timeout: 268 seconds]
snakedye has joined #river
snakedye has quit [Ping timeout: 246 seconds]
snakedye has joined #river
gwizon has quit [Ping timeout: 260 seconds]
<leon-p> dagle: they are different events, however user_command_tag is strictly an extention to user_command. it will always be sent before user_command. adding a new events is a backwards compatible way of adding new args to old events
<leon-p> if you wanted, you could warp them up into a single gobject event thing or however that works
snakedye has quit [Ping timeout: 252 seconds]
<leon-p> see this if you are interested in the reasoning https://github.com/riverwm/river/pull/671
Nulo has quit [Ping timeout: 246 seconds]
gwizon has joined #river
gwizon has quit [Ping timeout: 248 seconds]
snakedye has joined #river
<chipps> I want to use a statusbar which would be hidden from the view for the most part, but I want to pull it up with a keypress. What statusbars do you people use?
snakedye has quit [Ping timeout: 260 seconds]
<leon-p> none. I habe a popup for tags and a watch on my wrist
<tiosgz> i know waybar can do that with SIGUSR1, but i'm not sure if you can set it to hide on startup
StopNGo has joined #river
elshize has joined #river
elshize has quit [Ping timeout: 246 seconds]
elshize has joined #river
waleee has joined #river
snakedye has joined #river
snakedye has quit [Ping timeout: 252 seconds]
<jao> chipps, i use i3bar-river with xmobar's text mode (until i find the time to finish a port of xmobar to wayland, which is poorly supported in the haskell world). but i don't know of a way of hiding i3bar-river.
snakedye has joined #river
snakedye has quit [Ping timeout: 268 seconds]
Ordoviz has quit [Ping timeout: 268 seconds]
Ordoviz has joined #river
gwizon has joined #river
Ordoviz has quit [Quit: WeeChat 3.7]
snakedye has joined #river
snakedye has quit [Ping timeout: 260 seconds]
talismanick has joined #river
Nulo has joined #river
gwizon has quit [Ping timeout: 268 seconds]
gwizon has joined #river
groknull has joined #river
groknull has quit [Remote host closed the connection]
gwizon has quit [Ping timeout: 268 seconds]
talismanick has quit [Ping timeout: 246 seconds]
lbia has quit [Quit: lbia]
elshize has quit [Ping timeout: 252 seconds]
notzmv has quit [Ping timeout: 248 seconds]
hspak6 has quit [Ping timeout: 260 seconds]
elshize has joined #river
snakedye has joined #river
snakedye has quit [Ping timeout: 246 seconds]