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/
waleee has quit [*.net *.split]
leon-p has quit [*.net *.split]
novakane has quit [*.net *.split]
andrea has quit [*.net *.split]
kennylevinsen has quit [*.net *.split]
coder_kalyan has quit [*.net *.split]
anjan has quit [*.net *.split]
travankor has quit [*.net *.split]
kennylevinsen has joined #river
novakane has joined #river
waleee has joined #river
andrea has joined #river
anjan has joined #river
leon-p has joined #river
coder_kalyan has joined #river
<chipps> is it possible to drag windows from one output to another? right now although the pointer can move from a monitor to another, the windows seem to be confined to within the output
<ifreund> chipps: nope, not currently
<ifreund> we'll probably have that feature eventually though
<waleee> that is incredibly weird in hikari, the window doesn't move over to next monitor until the cursor is about center of said monitor
snakedye has joined #river
waleee has quit [Quit: WeeChat 3.3]
Guest95 has joined #river
Guest95 has quit [Client Quit]
snakedye has quit [Ping timeout: 252 seconds]
dbuckley has quit [Ping timeout: 260 seconds]
dbuckley has joined #river
pkap has joined #river
travankor has joined #river
snakedye has joined #river
<novakane> weird thing again with bitwarden firefox addon, the dropdown menu appears at the other side of screen https://0x0.st/-hc-.png
<leon-p> might be a FF bug. It has issues before with popups on Wayland
<leon-p> s/has/had
<novakane> yeah I had all issues possible, I have no doubt it's a firfox problem as always, just report this here in case
<ifreund> I wonder if that's a firefox regression on a recent version
<novakane> can't really tell, not sure since when I have this, I don't add things like in bitwarden often
<novakane> hm firefox 94 is from like 1 month in void so I'm sure I didn't have this before though
<novakane> unrelated but do you guys know if this is a good bash syntax `all_but_toggle_tag=$((((1 << 32) - 1) ^ scratch_tag ^ chat_tag))`
<novakane> the double ^
<pkap> I had the same issue for several Firefox versions.
<novakane> pkap: ah well maybe I didn't notice before then
Anderson-D has joined #river
<Anderson-D> Is there some built-in layout configuration that will simply zoom all windows to fit screen instead of tiling?
<Anderson-D> I'm looking for smth like "zoom" in qtile or "max" in awesomewm
<novakane> Anderson-D: yes rivercarro can do this and IIRC stacktile too https://github.com/riverwm/river/wiki/Community-Layouts
<Anderson-D> novakane: thanks, stacktile seems nice!
<novakane> indeed, it is
<Anderson-D> Is there any way to set all_primary to true on startup?
<Anderson-D> It's missing from cli flags for some reason
<novakane> hm leon-p ^
<Anderson-D> If there's no specific reason why it's absent, I could submit a patch that implements this as a cli arg, leon-p
<Anderson-D> Also, please pardon my barbarism, but is there a specific reason why so much stuff is hosted on sourcehut nowadays?
<Anderson-D> I
<Anderson-D> I've never used it before so don't have any prior knowledge about this service
<novakane> Anderson-D: Beacause it's kinda different from other forge, usinge mail lists for patches and everything, 100% FOSS
<Anderson-D> Oh, I see. Makes a lot of sense
<Anderson-D> I've submitted a patch for this, I was not sure if sourcehut provides any pseudo-email addresses to send patches to so I've sent it to the one I found on Leon's website. Am I doing it right? :)
<pkap> What is the best way to send a list of strings over the wayland protocol with zig?
<Anderson-D> leon-p would you mind telling me which email to send patches to? The one I've used seems to be non-existent
<novakane> Anderson-D: yeah there is some mail list for example since stacktile doesn't have a dedicated one you can use the public-inbox one https://lists.sr.ht/~leon_plickat
<novakane> although I did send some mail to the adress use in `git log`
<novakane> so e.g you can use `~leon_plickat//public-inbox@lists.sr.ht`
<novakane> oops typo `~leon_plickat/public-inbox@lists.sr.ht`
<Anderson-D> Gotcha. Thanks! Just sent a patch
<leon-p> Anderson-D: there currently is no CLI flag for all_primary, because when I added the feature the use case I had in mind was toggling it at runtime. I would not mind a patch to add a flag.
<leon-p> For projects that do not have their own mailing list, you can just send me patches to one of my personal mail adresses or to my public-inbox
<leon-p> Anderson-D: I have applied your patch and will push it shortly. In the future, please do not include style fixes in feature patches and configure your editor to correctly do the tabs vs spaces thing.
<Anderson-D> leon-p: thanks! Sorry for the style fixes, I'll keep that in mind
<leon-p> don't worry, for such small patches I can easiely fix it. However it gets a bit annoying when a patch is more than 100 lines
<novakane> leon-p: could be great if you have a clang-format config
<leon-p> novakane: I tried multiple different formatters but none can be configured to reliably reproduce the C style I use in my projects. And at this point I am too stuborn to change my style :P
<novakane> leon-p: lol yeah I tried to make one with clang-format for river-tags-overlay once and saw that :P
<leon-p> I am of course not opposed to minor style changes, but a lot of the subtelty I have in my C style is so massively hard-wired into my brain it would be annoying to get used to something else
<novakane> yeah I get it though it's nice when you can use the format command from language server
Guest58 has joined #river
<leon-p> Do the clang format people accept changes? If I get really bored one day I might be able to convince clang format to reproduce my code. But my schedule is a bit full atm and tbh even staring at a wall sounds more exciting
Guest58 has quit [Client Quit]
<novakane> no idea, it is already pretty configurable, I think some things that couldn"t be made was like using space betweeen brackets since like this, although there is so many options that maybe I missed it
<elshize> leon-p: just write your own formatter, duh :P
<leon-p> elshize: "before working on my project, please clone and build my formatter, which depends on my custom c tokenizer, which depends on my custom libc, which depends on the zig toolchain", yeah, sounds like a plan
<elshize> leon-p: hmm, I see what you mean.
<leon-p> to be fair, I had the idea before
<elshize> having your own specific style & no formatter is just fine if you're mainly working on your own, or with people who are willing to comply
<elshize> but in my experience, whenever there are more than a handful people, it's better to have a consistent formatter, even if it's not perfect
<novakane> just minimize everything to one line duh
<elshize> I have lots of issues with clang-format, but when writing c++, always use it.
<leon-p> I don't disagree. This is a problem I chose to have by using a non-standard style
<elshize> the thing is, there's no standard style in c or c++, and many other langs
<leon-p> not de-jure, but definitely de-facto
<novakane> that a thing I like with zig even though I don't agree with everything
<leon-p> yeah, I don't agree with the zig format, but I see the benefit of having a One Ture™ format, so I use it
<leon-p> s/Ture/True/
<elshize> I do the same with python at work, decided to use black formatter, and just go with it. not always perfect, but good enough and takes your mind off of formatting. saves time during code review for sure
<elshize> because some projects that don't use it are a big mess; I guess it comes down to self-discipline of contributors
<elshize> but there's always someone who will submit some code that looks like it was chewed up by a dog and spit back out.
<leon-p> So I tried GNU indent and it comes pretty close, maybe I'll use that. Needs more testing though
hspak has quit [Ping timeout: 268 seconds]
snakedye has quit [Remote host closed the connection]
snakedye has joined #river
pkap has quit [Quit: Client closed]
pkap has joined #river
waleee has joined #river
pkap has quit [Quit: Client closed]
waleee has quit [Quit: WeeChat 3.3]
waleee has joined #river
pkap has joined #river
pkap has quit [Quit: Client closed]
pkap has joined #river