leopoldek has quit [Remote host closed the connection]
vimproved has quit [Ping timeout: 265 seconds]
vimproved has joined #river
sespiros has joined #river
alexherbo2 has joined #river
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #river
alexherbo2 has quit [Remote host closed the connection]
angry_vincent has quit [Remote host closed the connection]
angry_vincent has joined #river
mtm has quit [Ping timeout: 260 seconds]
mtm has joined #river
Den4ikRus has quit [Remote host closed the connection]
leopoldek has joined #river
<dnkl>
ifreund: that crash I mentioned last week was of course my own dumb fault. No issues in wlroots or river (related to this at least :D )
<ifreund>
dnkl: no worries at all, glad you got it figured out :)
alexherbo2 has joined #river
leopoldek has quit [Remote host closed the connection]
<leon-p>
ifreund: has your oppinion on `if (var) |_|` vs. `if (var == null)` changed? I looked through the WM code and saw some of those and I remembered we talked about that in the past at some time
<ifreund>
I prefer `if (foo == null)` personally
<leon-p>
yeah, I remember you convincing me to prefer that as well :)
waleee has joined #river
waleee has quit [Ping timeout: 260 seconds]
<gbrlsnchs>
Uhhh is it a known issue that sometimes key mappings stop working? I saw it happen once while using Gamescope, and although I think it was not due to keyboard grab, I ignored it, but then it just happened again out of nowhere while I was using my web browser. I thought I would start an investigation by asking here if anyone has seen this issue. I could not capture logs, unfortunately. 🙁
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #river
<ifreund>
gbrlsnchs: could it be that you are unintentionally entering a mode where there are no mappings defined?
<gbrlsnchs>
ifreund: I don't think so. The only other mode I have configured is a "toggled" mode I use to select a different layer of tags. Nothing configured for that mode worked as well, although the keyboard was working perfectly.c
<ifreund>
gbrlsnchs: and just to be clear, when this happens keyboard input still makes it to whatever window is focused?
<ifreund>
and pointer input and the like still works?
<gbrlsnchs>
ifreund: it does, yes! what I meant about the keyboard working perfectly was exactly that, I only had my browser selected to the tag, and I could type normally and interact with it. Pointer also worked, yes.
<gbrlsnchs>
I could not open a terminal to debug it further though, and I unfortunately wasn't logging river anywhere
<gbrlsnchs>
I'm on 0.3.2 btw, I think Gentoo hasn't updated Zig to 0.13 yet, which I think the next versions rely on
haliucinas has joined #river
<ifreund>
hmm, well it's not a known issue. I would double check that you don't have Super+F11 bound to enter "passthrough" mode like the example init does though
<ifreund>
I don't think anything related to this has changed since 0.3.2
<gbrlsnchs>
yea since no one had this issue previously, the problem might be between the chair and the computer lol
<The_Buhs>
gbrlsnchs there's a PR for Zig 0.13 to ::gentoo, it's just taking it's time (for reasons I'm not totally sure of but *shrug*)
<ifreund>
it's always possible that there's a tricky bug lurking in river waiting for some unfortunate person to discover it :D
<ifreund>
just because I never seem to hit bugs myself any more doesn't mean that they don't exist :D
<gbrlsnchs>
ifreund: haha, hopefully it's not! it _might_ have been the resize mode I just found out I have configured 😅 but in any case, I'll keep an eye on it
<gbrlsnchs>
I need to clean up my river config, split things into other scripts in an init.d directory or something
<gbrlsnchs>
after moving to kakoune I got a little lazy with my dotfiles, since kakoune config is so much simpler than, say, neovim lol
<ifreund>
kakoune is great :)
<gbrlsnchs>
The_Buhs: thanks for letting me know! exciting PRs, specially the one adding an official eclass 😀
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #river
alexherbo2 has quit [Remote host closed the connection]
fleurc has joined #river
<fleurc>
Hello, I'm new to River, sorry if this question was asked before but I've looked over on google, the issue tracker, gentoo and arch and couldn't quite understand how to have a window spawn in a tag, in hyprland I'd do windowrulev2, describe the id of the program and set the workspace it would spawn in; In river I've seen that I can do rule-add -app-id "glob" -title "glob" tags, but it doesn't seem to actually do anything. I want emacs
<fleurc>
to appear on what would be "workspace" 3 but I can't get it to work.
<leon-p>
fleurc: can you show us the command you have tried?
<fleurc>
I tried these 2, and also switching title with -app-id
<fleurc>
I think i'm using the wrong tag here
<fleurc>
Still don't fully understand how to pinpoint a tag
<leon-p>
yes, the tag is wrong
<leon-p>
to address the third or fourth tag, 3 or four are not correct
<leon-p>
tags are bitfields, you have to use the integer whichs binary representation equals the bitfield
<fleurc>
How do I do this?
<leon-p>
by knowing binary numbers: 0001 -> 1, 0010 -> 2, 0100 -> 4, etc.
<leon-p>
or by taking a closer look at the default init, especially the tag keybind part :)
<fleurc>
So I should do something like "riverctl rule-add -app-id 'emacs' -title 'emacs' tags 0011?
<leon-p>
that would be tag three, yes
<fleurc>
Got it, thanks, will try now
<fleurc>
Will report if it works or not
fleurc has quit [Remote host closed the connection]
fleurc has joined #river
<fleurc>
It didn't work, it doesn't spawn in the specific tag, instead it just works as if there was no rule (spawns in current tag instead of tag 3)
<leon-p>
the title of emacs' window isn't "emacs"
<leon-p>
it's usually something like "emacs @ <your hostname>"
<leon-p>
try app-id instead
<fleurc>
Ok
<leon-p>
anyway, I have to go now
<fleurc>
Ok
<fleurc>
Thanks for the help
fleurc has quit [Remote host closed the connection]
fleurc has joined #river
<fleurc>
Yeah, I didn't get it to work, until I get how to make this work I'll just do things manually
<fleurc>
Got Kitty to open on Tag 5, So now all I need is to discover how Emacs is titled
<fleurc>
Thanks
fleurc has quit [Remote host closed the connection]
tiosgz has joined #river
Youpilai has joined #river
<tiosgz>
i think there's been some miscommunication about tags? 'tags 3' == 0b0011 == 1st & second "workspace" (unless rules expect the number in a different format in which case i must have forgotten)
<tiosgz>
fleurc: there's lswt to help you find programs' app ids and titles
<Youpilai>
@fleurc: you can do 'echo $((1 << 4))' to get the integer which target tag 5 for example
Youpilai has quit [Client Quit]
Youpilai has joined #river
Youpilai has quit [Client Quit]
Youpilai has joined #river
auralluring has joined #river
<gbrlsnchs>
tag 4 should equal to 1000, in decimal notation would be 8
neurocyte has quit [Quit: WeeChat 4.2.1]
<Youpilai>
yes, the result of the above is 16, for tag 5
<Youpilai>
and if you use 15, you get all previous tags but 5 (ie 1 to 4)
auralluring has quit [Quit: Client closed]
leopoldek has joined #river
tiosgz has quit [Quit: nyaa~]
angry_vincent has quit [Read error: Connection reset by peer]
angry_vincent has joined #river
waleee has joined #river
Youpilai has quit [Ping timeout: 256 seconds]
<The_Buhs>
Y'all talking about kakoune have me learning a new editor and hating the learning aspect but also it seems cool
angry_vincent has quit [Ping timeout: 260 seconds]
fleurc has joined #river
<fleurc>
Hi, I've come back with a different problem. I cannot make Polkit work.
<fleurc>
That's the short of it, I have riverctl spawn /Path/to/Polkit
<fleurc>
And tried running it on terminal, but my gpg polkit password thingy doesn't appear and it just immediately crashes
neurocyte has joined #river
fleurc has quit [Remote host closed the connection]
<ifreund>
I know nothing about polkit unfortunately, its always worked out of the box with no intervention from my part on the distros I've used
<leon-p>
well, polkit and the gpg have different prompting programs: polkit-agent and pinentry
<leon-p>
I am not sure right now how the polkit-agent is startet, but if it even remotely works like pinentry, then it'll get $WAYLAND_DISPLAY via a sidechannel, which here may be DBus
<leon-p>
so setting up DBus is required
<leon-p>
unless they mean the TTY polkit prompt. if that doesn't work, than I have no idea either