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/
helby has left #river [#river]
helby has joined #river
snakedye has joined #river
elshize has joined #river
waleee has quit [Ping timeout: 268 seconds]
waleee has joined #river
elshize has quit [Ping timeout: 256 seconds]
elshize has joined #river
leon-p has joined #river
notzmv has quit [Ping timeout: 265 seconds]
notzmv has joined #river
elshize has quit [Quit: WeeChat 3.2]
Guest57 has joined #river
Guest57 has quit [Client Quit]
Guest57 has joined #river
Guest57 has quit [Client Quit]
leon-p has quit [Ping timeout: 264 seconds]
leon-p has joined #river
snakedye has quit [Ping timeout: 264 seconds]
waleee has quit [Quit: WeeChat 3.3]
<leon-p> hmm... I think we are missing a transaction when an output disappears and it's views get put onto another
<leon-p> s/transaction/layout demand/g
n3o has joined #river
<n3o> Hello there!
<leon-p> hi
<n3o> I want to know how can I get rounded corners of windows in river
<leon-p> you can't at the moment
<leon-p> at least not server side
<n3o> any tool to do that?
<leon-p> no
<n3o> nothing like picom?
<leon-p> no, river supports no external compositors
<n3o> I see
<leon-p> what you could do is use only GTK apps and turn on CSD. That way you get rounded corners on some things, if you like
<p00f[m]> ^ this
<n3o> Is there a possibility of adding this through any source code change?
<leon-p> n3o: everything can be changed when you are willing to edit the code itself, but you would need to create a custom wlroots renderer, which includes writing shaders
<leon-p> totally not worth it just for a bit of bling bling
<leon-p> eye candy is not totally off the table, it's just that there are currently things that are a lot more important to focus on
<n3o> leon-p: Iget it, I'll stick to double borders
<n3o> I hope that doesn't require that much of effort
<leon-p> there was a river fork for double borders somewhere, but I don't have a link rn
<n3o> I get it
<n3o> got*
n3o has quit [Remote host closed the connection]
n3o has joined #river
<n3o> How do I reload river?
<leon-p> if you just want to change some configs, you don't need to reload it (in fact relaoding is not something river can actually do)
<n3o> Then what should I do?
<n3o> I tried re-executing the init script but it gives a namespace error
<leon-p> what error?
<leon-p> ah I know what you mean
<n3o> error: namespace 'rivertile' already in use.
<leon-p> the default init starts rivertile. But when an instance of rivertile is already running, launching a second one will fail
<leon-p> but that is fine
<leon-p> the first one still works
<n3o> Hmm executing riverctl in the command line does the changes
<n3o> but I can't get to see when I re-execute the script. Reason
<n3o> ?
<leon-p> if you want to re-start rivertile, you need to kill the old one first
<leon-p> two rivertile instances can not co-exist
<n3o> I did 'killall rivertile' and then did '. ~/.config/river/init' But I get this in strace 'sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\3\0\0\0\1\0\34\0\f\0\0\0\f\0\0\0l\4\0\0 \4\0\0\352$\0\0\3\0\0\0"..., iov_len=92}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 92 poll([{fd=3, events=POLLIN}], 1, -1'
<n3o> It gets stuck doing nothing
<leon-p> of course
<leon-p> the init does `exec rivertile`, so when you execute it its process gets replaced by rivertile
<leon-p> which is then running in your terminal
<leon-p> everything is working as it should here
<n3o> Then why it is not reloading?
<leon-p> it probably is, but the changes you made may simple be not visible
<n3o> Oh I see
<n3o> https://github.com/riverwm/river/issues/24 <- BTW has this patch been applied to the GTK applications?
<leon-p> there should be a link to the GTK issue tracker in one of the comments, so you can check for yourself
<n3o> Oh it is merged
novakane has joined #river
<leon-p> pretty sure it's still open
<n3o> it is open
<leon-p> then it is not merged
<n3o> huh?
<n3o> but there's a commit
<leon-p> yes, but it's an unmerged commit
<leon-p> that's how git works
<n3o> Oh I thought those where the merged commits
<leon-p> nope. A merge request or pull request (or send-email) is just showing off a few commits you want to contribute to a project. The maintainers can then decide to merge them if they want
<n3o> I see
<n3o> which file in zig is repsonsible for rendering borders?
<n3o> I want to modify it to get double
<leon-p> river/render.zig
<leon-p> renderRect() is used to draw the borders
<leon-p> search for the renderBorders() function
<n3o> Thank you!
<n3o> I found this code piece
<n3o> fn renderBorders(output: *const Output, view: *View, now: *os.timespec) void { const config = &server.config; const color = blk: { if (view.current.urgent) break :blk &config.border_color_urgent; if (view.current.focus != 0) break :blk &config.border_color_focused; break :blk &config.border_color_unfocused; }; const border_width = config.border_width; const actual_box = if (view.saved_buffers.items.len != 0) view.saved_s
<n3o> oops
<n3o> https://termbin.com/cx7u <- Is this the function you're talking about? I found out some stuff
<leon-p> indeed
<n3o> So I have the recall the renderRect() function?
<n3o> I dont have much of experience in zig
<n3o> I see
<leon-p> hehe :P
<n3o> :P
<n3o> Wait I know someone on reddit how has double borderrs
<novakane> there is this also that is useful https://ziglearn.org/chapter-0/
<n3o> time to steal
<n3o> I'll do that later ;)
p00f[m] is now known as p00f
p00f has quit [Quit: Reconnecting]
p00f has joined #river
n3o has quit [Remote host closed the connection]
novakane has quit [Quit: WeeChat 3.3]
Guest43 has joined #river
Guest43 has quit [Quit: Client closed]
notzmv has quit [Ping timeout: 245 seconds]
novakane has joined #river
snakedye has joined #river
ino has joined #river
ino has left #river [Good Bye]
ino_ has joined #river
ino_ is now known as ino
ino has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ino_ has joined #river
ino_ has quit [Remote host closed the connection]
ino_ has joined #river
ino_ has quit [Quit: ino_]
ino has joined #river
n3o has joined #river
<n3o> Riverctl command to bind a key to kill focused window?
<ino> n3o: Maybe this? `riverctl map normal $mod+Shift Q close`
<n3o> ayep
<n3o> i was silly enough to not know that
<n3o> thank you ino
<ino> You are welcome!
n3o has quit [Remote host closed the connection]
n3o has joined #river
n3o has quit [Remote host closed the connection]
<ino> Hi guys! Has the `river-cycle-tags` script has any update from anyone? Thanks!
n3o has joined #river
n3o is now known as neo
neo is now known as Guest1427
Guest9043 has joined #river
Guest9043 has left #river [#river]
Guest1427 has quit [Remote host closed the connection]
<ifreund> river is now packaged for void :)
<helby> masses can migrate to river now ;/
<helby> it's also fixed in alpine and works great obviously ;/
<ino> ifreund: Congrats on more than 1k stars!
<ino> ifreund: Also, do you have any dedicated scripts to cycle through the tags from both direction? :)
elshize has joined #river
<ifreund> nope, I don't use tags like that
<novakane> and most importantly rundird is too :P
<novakane> s/most/more/
<ino> hello novakane! How are you?
<ino> Also, what's the correct way to use the tags? ifreund
<ino> sorry for the ping.
ino has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ino has joined #river
<elshize> ino: there's no "correct" way. use it the way it works best for you!
<ino> Thank you! :D. Do you use tags like I do? I mean...cycle through them? Or just press mod+(1..9) to switch to one of them? :)
<elshize> ino: no, I do not cycle through. I toggle/switch by number
<elshize> ino: how many tags do you have?
<ino> Ohho. Thank you! I generally have 4-5 tags open. I am using this script written by leon for cycling thru them. But it only works from left to right :D.
<elshize> well, it shouldn't be to difficult to have another one that goes in reverse ;)
<ino> elshize Haha, you nailed it!!
<ino> I should give it a try to modify myself.
<ino> I have modified my yambar config, it now shows the number of tags that are opened, and when I click on one of those numbers, it brings the focus to that tag :)
waleee has joined #river
ino has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
snakedye has quit [Read error: Connection reset by peer]
snakedye has joined #river
leon-p has quit [Ping timeout: 268 seconds]
novakane has quit [Quit: WeeChat 3.3]
hspak has quit [Quit: The Lounge - https://thelounge.chat]
hspak has joined #river
leon-p has joined #river