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/
notzmv has joined #river
snakedye has quit [Ping timeout: 260 seconds]
waleee has quit [Ping timeout: 250 seconds]
trav81787 is now known as travankor
kraem_ has quit [Quit: You have been kicked for being idle]
snakedye has joined #river
kirusfg has joined #river
scrollmaster has joined #river
<kirusfg> greetings! I am testing out river and liking it so far, but do not know how to make one keybinding do two or more things simultaneously
<kirusfg> using rivercarro by @novakane and would like to know if I can change both outer and inner gaps with one bind
<leon-p> kirusfg: you could make a bind that calls a script, which in turn uses riverctl
scrollmaster has quit [Client Quit]
<kirusfg> ok, will try, thanks
<kirusfg> novakane: a generalized "gaps" command would be handy ^
kirusfg has quit [Quit: WeeChat 3.4]
<novakane> kirusfg: done :)
kirusfg has joined #river
kirusfg has quit [Quit: WeeChat 3.4]
waleee has joined #river
NickH has quit [Ping timeout: 260 seconds]
NickH has joined #river
NickH has quit [Ping timeout: 240 seconds]
cabal704 has joined #river
cabal704 has quit [Ping timeout: 240 seconds]
cabal704 has joined #river
NickH has joined #river
<tiosgz`> i was about to submit https://github.com/tiosgz/river/commit/7d50c32f57d542c8cf8efad9ae711138e5dfaa63 when i realised it doesn't make sense -- it respects a small min size only if it's fixed
<tiosgz`> what should it do, actually?
<tiosgz`> s/only if/if and only if/
<ifreund> tiosgz`: I'd actually like to get rid of river's arbitrary min size
<ifreund> from my perspective, it was a misguided attempt to fix some overflow/underflow bugs but really it just papered over the problem
<tiosgz`> so... can i replace that with just the min size itself?
<ifreund> as long as everything still works, yes :D
<ifreund> might actually still want to enforce a minimum size of 1x1
<ifreund> I don't recall if the protocol allows clients to submit 0 sized buffers, I hope not
<tiosgz`> that would be ugly :(
elshize has quit [Ping timeout: 256 seconds]
elshize has joined #river
cabal704 has quit [Remote host closed the connection]
cabal704 has joined #river
elshize has quit [Remote host closed the connection]
chinz has joined #river
<chinz> Hey does anyone here use kile or ristate and having issue with protocol errors
<chinz> wayland-client Parse error while reading events: The message is malformed and cannot be parsed
<chinz> thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 71, kind: Uncategorized, message: "Protocol error" }', src/main.rs:88:14
<chinz> was hoping a random update would fix it but kinda been stuck like this for a month so have just been using another de
<novakane> chinz: you probably would have more chance by opening an issue in kile/ristate instead or if snakedye have some time here
<chinz> fair just wanted to see if anyone else had the issue first before going straight to opening an issue.
<chinz> sometimes it can just be a configuration problem.
<novakane> sure, maybe someone will known can't help you I don't use any of this and don't want to read rust :P
<chinz> i know a little bit of rust. seems to be its getting something weird from the wayland side when its receiving events. trying to debug right now but honestly don't think i know enough about the wayland protocol to figure it out but will give it a shot.
<chinz> been using gnome for a month and starting to get a bit sick of it tbh haha
<novakane> I can imagine, you could have just change the layout generator instead though xD
<chinz> yeah but i also use eww for my widgets and there is no real way to get tag information from river without ristate as well
<chinz> river works but is a bit dead atm without kile or ristate
<chinz> also use an ultra ultrawide so have a few custom layouts made around that setup
<chinz> what layout generator do you use?
<leon-p> works fine on ultra wide
<novakane> well I use rivercarro so probably not great for ultra wide, better have a look at stacktile yeah
<chinz> will have a look but kinda like the fact that kile is basically a language to define your own layouts its mad fun once you get used to it.
<chinz> like for when im playing games i have a mode that splits 50/50 and removes all my ui elements so i can have a youtube video and a game running at the same time with normal resolutions for each haha
<chinz> kinda assumed that kile would be more popular but not going to lie it did take me half a day and an explanation from a closed issue to understand how it worked
<leon-p> pretty sure most river users right now just use a simple dwm-like layout, we don't really advertise the flexibility of layout all that much so people just don't do it.
<snakedye> chinz: Had the opposite experience. Wasn't sick of river but I just wanted to have it easier so switched to GNOME. Regarding the issues I think it's on wayland-rs and not in the clients since they haven't changed in forever. I'm transitioning to wayland-rs 0.3 for my library do not much effort (no) went in the old stuff
<snakedye> Glad you like kile :)
<leon-p> chinz: if you have decent C skills it should be almost trivial to take the example C layout and glue Lua into it, so you could still have configurable layouts that way
<chinz> snakedye your the developer of kile yeah. thanks for making that btw it really let me get rid of awesomewm and switch to wayland.
<chinz> leon-p i can write C but you don't want to see the code i produce. i have had more experiences writing C wrappers in golang haha
<snakedye> If/when there's a view management protocol, I'd like to pick up the project again
<chinz> will see if i can get a debugger running and fix the issue causing the crash my self. but yeah looking forward to see what you make for river next snakedye if you decided to work on more projects with it again
NickH has quit [Ping timeout: 256 seconds]
<snakedye> I think the solution might just be to update the dependencies lol
<chinz> i actually think that might work. i updated them for kile and i didnt see it stack trace this time
<chinz> let me update ristate and see what happens
snakedye_real has joined #river
snakedye_real has quit [Read error: Connection reset by peer]
snakedye_real has joined #river
snakedye_real has quit [Client Quit]
chinz has quit [Quit: Client closed]
chinz has joined #river
<chinz> problem solved updating the deps worked. snakedye i thought of it first so im making a pull request haha
<snakedye> Let's go!
NickH has joined #river
snakedye_real has joined #river
chinz has quit [Quit: Client closed]
chinz has joined #river
chinz has quit [Client Quit]
chinz has joined #river
<NickH> chinz: have you managed to configure kile to work the same way as awesomewm tiling?
<chinz> i wouldst say the same but i got the custom setup i was looking for like i had in awesome
<chinz> i actually found it a bit easier to configure tiling wise than awesome
<chinz> like i have created my own custom layouts that i can switch between using a widget like i had in awesome
<NickH> I had a look at kile and thought it was promising but wasn't able to understand how to configure it.
<NickH> Maybe I gave up too quickly.
<chinz> yeah honestly that i was thing i had a problem with was understanding how it works.
<chinz> its actually not too complicated once you understand.
<chinz> let me see if i can fish out an old issue that explains how it works snakedye actually explains pretty well in there.
<chinz> but you will most likely have to start out with a really basic one and build from there.
<NickH> I uses awesomewm for about 10 years but switched from it about 2 years ago because of the lack of proper HDPI support
<NickH> Is it an issue at https://gitlab.com/snakedye/kile ?
<chinz> i switched because i never truly could get used to lua. like i could create some complex things but after a while i would hit road blocks in debugging. im really enjoying creating my widgets in eww now. even though there are some features missing that i would really like. but a few of them are PRs at the moment so looking forward to when they get
<chinz> properly released
<chinz> the one snakedye posted is the one i learned from
<NickH> Thanks, I'll check it out.
<chinz> also snakedye
<chinz> read em and weep im a god like programmer fixing all the issues haha
<snakedye> NickH: it kinda works like macros. You're writing layouts of layouts that generate geometry
<chinz> NickH i would also suggest after reading that reading the examples and properly understanding them in the context of what he wrote in the issue.
<NickH> There are two things that I miss right now: 1. Being able to resize tiled windows. 2. Being able to add addional column(s) to the main/primary area.
<NickH> stacktile goes some way to addressing 2. but I've not seen anything that can do 1.
<chinz> i don't think it will allow you to resize tiled windows but i might be wrong. never used awesome in that way. i think you should be able to do 2 but correct me if im wrong snakedye
<NickH> Started looking into writing my own to implement 1. but don't see how to know which is the currently focused view.
<chinz> SPLIT_FULL="((v:h h) 1 0.50 0)"
<chinz> if you do decide to try kile i would suggest also writing it in one line.
<chinz> the examples show it on multiple lines but not going to lie i never managed to get that to work
<snakedye> chinz: Merged! Thanks for the PR. There's also a contrib folder if you don't mind sharing your layouts too.
<snakedye> NickH: you can do both.
<chinz> oh god you don't want to see them hahaha. sure once i have cleaned them up i will share but its getting a bit late for me tonight im just glad its working again
<chinz> i might also try to write a tutorial at some point to put in the readme since i think it is a bit of a hurdle for new people to kile
<snakedye> Doesn't help that gitlab destroys the formatting ;_; of the layouts in contrib
<NickH> snakedye: resize tiled windows?
<snakedye> It's kind of a shame it didn't pick up more steam. I believe that if kile had more layouts and perhaps better documentation there wouldn't even be a need to write your own client.
<snakedye> NickH: yes
<NickH> Ohh...
<chinz> yeah i honestly think lack of tutorial was the issue there. also lack of peoples layout to piggy back on since there isnt a massive community around it. so your starting from scratch.
<chinz> i think a good tutorial and a couple of posts on /r/unixporn along with some nice well explained examples and your golden
<NickH> I was quite interested when I found kile but the documentation combined with it being in rust stoped me from investing time in trying to get it to do what I wanted.
<snakedye> Do people care about the language something is written in?
<snakedye> I'm surprised
<NickH> It is the packaging that is a problem for me.
<snakedye> I see
<NickH> If I can't eaisly package it, then I can't easily have it on all of my systems.
<chinz> what distro do you use NickH gentoo?
<NickH> Debian.
<NickH> And when I say easily, I don't really mean *easily*. I've gone to considerable effort to package both zig and river.
<chinz> ah interesting never really given it a shot. i used ubuntu when i was around 10. then used opensuse when i was an early teen. then for around the past 10 years been using arch. so not really familiar with the packaging of debian based distros.
<chinz> i can feel the pain though once had to compile an rpm with a cyclical dependency at work. it can be a right pain to package software
<NickH> It's not at all hard to make shitty .deb packges, but making standards compliant .deb packages can be quite a bit of work.
<chinz> are you a maintainer NickH?
<NickH> No, but looking for a sponsor so that I can become one.
<chinz> oh boy i think you would have a heart attack if you seen some of the rpm packages in my work
<NickH> I've been around for a long time and seen some horrible stuff! No much fazes me anymore!
<chinz> our mongodb package contains a zip file with the mongo-c lib that we have to decompress and compile on every server and user account we use.
<chinz> for the love of god i wish i didn't have to do that every bone in my body tells me its wrong.
<NickH> snakedye: is the gitlab repo the main repo for kile?
<snakedye> Yes
<NickH> Ok, thanks.
snakedye_real has quit [Quit: snakedye_real]
chinz has quit [Quit: Client closed]