midgard has quit [Remote host closed the connection]
midgard has joined #river
traidare has quit [Ping timeout: 255 seconds]
traidare has joined #river
Bodenseepirat has joined #river
<k-man>
i'm trying to run the whatsapp-for-linux snap. it loads a window but the window stays blank and then river prompts with "app unresponsive, reload?"
<k-man>
i keep saying no but it keeps popping up. can i increase that time out?
<k-man>
oh, whatsapp-for-linux finally loaded
<TheAnachron>
k-man maybe initial setup? does it happen again or loads instantly now?
<k-man>
it often happens. it's just a slow app to load
<TheAnachron>
probably written in Electron, the worst invention since flash
Bodenseepirat has quit [Ping timeout: 245 seconds]
<ifreund>
why not just use it in the browser?
kotto has joined #river
<k-man>
i just like to have it as a stand alone app
<k-man>
but yeah, i can do that
<k-man>
i'm sure it is electron. it's a 3rd party packaging of the website in a "snap" application
traidare has quit [Ping timeout: 245 seconds]
Bodenseepirat has joined #river
TheAnachron has quit [Quit: TheAnachron]
<Bodenseepirat>
Is it possible to start river on multiple ttys as pseudo-monitors? I know tags exist, but I have a reason, believe me π
<ifreund>
no, separate ttys are separate river sessions
Szadek15988 has joined #river
Szadek1598 has quit [Ping timeout: 258 seconds]
Szadek15988 is now known as Szadek1598
<Bodenseepirat>
Ok... I'd like to screenshare one workspace/monitor/etc. and not the others. But with the tag system and with only one monitor it is nothing or all...
<Bodenseepirat>
So after looking at that wlroots link I'm thinking I could nest river in river or sway and give that nested river two outputs (so unlike a headless output I can see what I do there without sharing it).
<ifreund>
Bodenseepirat: you can do that. You won't be able to share stuff between the outer session and the inner river session well though
<Bodenseepirat>
Yes. I'm thinking just one keybinding to toggle between the inner outputs in the outer one and all apps etc. in the autostarted inner one. I am already scrolling back and forth the manpages to get all the scripts right for this π
traidare has joined #river
<novakane>
in a moment of madness I decided to rewrite riverctl zsh completion
<novakane>
and now I remember why I said I will never touch a zsh completion script again
<ifreund>
mpv can still end up partially off-screen due to an interactive resize but I'm not sure trying to fix that is worth it
leopoldek has quit [Remote host closed the connection]
<novakane>
it's not exactly perfect but it's clearly an improvement on my system
<novakane>
my hardware probably can't do it better tbf
chraist has joined #river
<ifreund>
cool, thanks for testing
<ifreund>
on my slow old laptop mpv is equally bad on the compositors I tried now
<ifreund>
the only real difference on river is that the borders work correctly (unlike sway) and we try to keep it in bounds of the output
<novakane>
I'll try on sway later too, to see if that an hardware problem
<novakane>
it doesn't really stay in bounds on my test but then I only have phone video so not great format
<ifreund>
yeah, it will go out of bounds on the top or bottom edge if it is too close to the top/bottom when resizing horizontally
<ifreund>
because resizing horizontally of course causes mpv to grow vertically, technically violating the protocol but also they don't really have a choice so I can't blame them
<ifreund>
I just wish wayland had done a better job of policy over mechanism here
<novakane>
I usually just go fullscreen and then no more problems :P
chraist has quit [Remote host closed the connection]
notzmv has joined #river
tiosgz has joined #river
<tiosgz>
novakane: you beat me to it. or more precisely to my monkeying about the completion :D
<tiosgz>
now i only gotta complete the tiny bash & fish stuff i got on my machine. and see how well you've done :)
<tiosgz>
i also thought it could be moved into river (so that the completion scripts are only proxies), but that would be a larger undertaking
<tiosgz>
(i recall herbstluftwm doing this)
<tiosgz>
also thanks for fixing up the rule-* stuff :)
<novakane>
tiosgz: feel free to play with it and improve it, this is super fun... :P
<tiosgz>
three or four nested `case`s? xD
<tiosgz>
i don't really understand how you could understand it, but then i didn't look up any docs
<novakane>
even with the docs it's really complex, lots of trials and errors, and I could messed some things
<novakane>
I don't think the people that wrote that even understand how it works tbh xD
<tiosgz>
it seems to make some sense, but also there's some weird manipulation (afaict from reading your output). i like the simplicity of bash (afaict again)
<novakane>
when it's simple it make sense, but when you need a bit of more complexity then nothing make sense
<novakane>
bash seems better yeah, unfortunately I don't use bash lol
<tiosgz>
same here. now how do i manually load the completion again πΏ . even fish makes this a simple `source my-file` that doesn't give any errors
<ifreund>
not suggesting that we actually switch to this, I don't want more dependencies at this time. It would be great if this problem was solved in more centralized way though
* tiosgz
was like, 'wait, an empty post? makes sense'... until it was discovered there's lotsa stuff blocked :D
<ifreund>
oh damn, is dev.to that sus?
<novakane>
tiosgz: hmm i don't remember if you can just load the file like that, not sure it's possible
<ifreund>
in any case, here's a direct link to the github repo
<tiosgz>
i ended up doing `autoload file` and then `. file` and accepting it gives me an error
<novakane>
oh yeah I remember this article from last time, I guess we still haven't find anything better for river then lol
<leon-p>
arguably the status quo is Fineβ’. our bash completions work fine and one could argue that [ba]sh is basically /the/ default shell and any other shell that does not support using its completion as a baseline is broken.
<leon-p>
still, if things get too complicated I'd be tempted to move the complletion inside the program
<tiosgz>
but innit 'broken again shell'?
<ifreund>
hmm, can zsh not use bash completions? Isn't it backwards compatible with bash?
<ifreund>
looks like it can but requires the user to tweak some extra config knobs
<tiosgz>
but bash doesn't have description afaik
<tiosgz>
which is a cool thing to have
<novakane>
yeah it need bashcompinit, which is not ideal to have the user change their config juste for river
<novakane>
and also yeah for descriptions, zsh completion is way better to use than bash imo
<ifreund>
I think I'm gonna go back to pretending completions aren't really my problem and just merge whatever y'all are nice enough to come up with :)
<tiosgz>
rm -rf completions/ ? is that nice?
<ifreund>
I think even our current half-broken completions do make river more pleasant to use for many users
<novakane>
yeah honestly just having the first argument is already good enough
<leon-p>
just make everyone use bash, problem solved :) the trick is to know that you also need to configure readline to make bash bearable
<novakane>
it's too late now zsh is part of me, I can't change my shell
leopoldek has joined #river
Guest43 has joined #river
Guest43 has quit [Client Quit]
tiosgz has quit [Quit: tiosgz]
leopoldek has quit [Quit: Leaving]
leopoldek has joined #river
leopoldek has quit [Client Quit]
leopoldek has joined #river
traidare has joined #river
dbuckley has quit [Read error: Connection reset by peer]
dbuckley has joined #river
traidare has quit [Ping timeout: 260 seconds]
leopoldek has quit [Ping timeout: 272 seconds]
<NickH>
I think we should all go back to tcsh
* NickH
ducks
waleee has quit [Ping timeout: 248 seconds]
waleee has joined #river
<NickH>
The only readline setting I use is "set completion-ignore-case on". What other config makes bash more comfortable?
<leon-p>
NickH: I'll probably write a small blog post on that
<NickH>
Nice. I've been using zsh for about 10 years but prior to that I was using bash.
<leon-p>
might also be a good time to roll out the webiste redesign I have in the pipeline. Wanted to wait until I have updated the river setup guide, but didn't really have the energy for that
<NickH>
I use a number of shared accounts where the default shell is bash, so if there are extra readline settings that I can use to make it a more pleasant experience I'd be quite interested.
<NickH>
Proably best to wait till the next release for an updated river post anyway.
<leon-p>
NickH: I can ping you once I have the post up