<pltrz>
looks like my `-H 32` flag is being respected - but not the other colours (and yes, those variables, ex. $base00 are defined in the beginning of the init script)
<pltrz>
such as `export base00="#263238"`
<pltrz>
this bemenu invocation seems to work correctly when I run it outside of river's init
sjtio has quit [*.net *.split]
st4ll1 has quit [*.net *.split]
st4ll1 has joined #river
sjtio has joined #river
novakane has joined #river
<novakane>
pltrz: you should try to quote your spawn command with double quote instead
<ifreund>
pltrz: yeah, if you're using a posix shell it won't expand variables inside a single quoted string
snakedye has joined #river
leon-p has joined #river
leon-p has quit [Quit: leaving]
snakedye has quit [Ping timeout: 245 seconds]
noopdecoder has joined #river
<novakane>
I was looking at using river-layout-v3 installed by river and I feel like users would need to use the same install prefix for river and 3rd party program or it gonna be annoying
<ifreund>
novakane: this is probably solved with pkg-config
<ifreund>
that would be a nice thing to implement if you want to give it a go
<ifreund>
see how we get the wayland-protocols directory from pkg-config in zig-wayland
<ifreund>
and then with export PKG_CONFIG_PATH="${HOME}/.local/lib/pkgconfig"
<ifreund>
you should be good to go with river installed to ~/.local
<ifreund>
if you see a better way I'd be happy to hear it though :D
<novakane>
hmm yeah I don't know much about pkg-config but I'll have a look because currently I don't think it's ideal
<novakane>
I mean it works fine if you use the same prefix but I guess it could be better
<novakane>
I have a problem to select text with the mouse now
<novakane>
looks like selecting anything with the mouse in fact because it doesn't works in pcmanfm too
<novakane>
I need to move away but I'm interested if someone else has this issue
novakane has quit [Quit: WeeChat 3.2]
leon-p has joined #river
elshize has joined #river
<elshize>
ifreund: fyi the fix didn't help with my thing. but still can't figure out when exactly it happens. I'll let you know if I do.
<ifreund>
elshize: too bad, please do let me know if you figure out any thing else that might help me reproduce or fix it :)
<elshize>
ifreund: sure thing
elshize has quit [Quit: WeeChat 3.2]
elshize has joined #river
<leon-p>
so after our talk about shells here recently, I started working on a little experiment. My conclusion is that I changed my mind completely on LISP like syntax for shells. S-Expressions are easy to parse and a pretty good way to handle command nesting, but for shell control flow they are not great. The evaluator would have to be way more complex than a simple tree-flattener and shell stuff like piping and
<leon-p>
ifreund: I know that list, I check it every now and then to see if something interesting pops up
<pltrz>
ifreund: yes, latest master as of now `[ae871c2]` produces same behaviour - let me check stderr
<ifreund>
pltrz: here's a good way to debug actually, set WAYLAND_DEBUG=1 for the riverctl invocation you are having issues with and give me the output of that
<elshize>
ifreund: leon-p: what shell are you using for daily work?
<leon-p>
elshize: usually bash, currently trying elvish
<ifreund>
elshize: I'm currently on zsh for interactive usage and dash for scripting
<elshize>
I've been meaning to try some new shells, but I'm not sure which ones are worth looking into for more structured type of workflow
<pltrz>
<ifreund "pltrz: here's a good way to debu"> thanks - here's the output (https://dpaste.org/o38r)
<pltrz>
I've also been playing around with some of those shells from oilshell's wiki too :)
<leon-p>
elshize: for interactive usage, the language is actually pretty irrelevant, as long as you can type it fast. What matters more is the interface. As an example, I have realy grown to like elvish's ctr-l keybind, which oens a prommpt where I can quickly select and cd to any directory I have opened so far.
<pltrz>
<leon-p "elshize: for interactive usage, "> I actually found the same for `elvish` - that feature is so neat. little tui file browser is absolute genius for an interactive shell
<leon-p>
yup, haven't touched ranger in a week
<pltrz>
ifreund: i notice from my paste - `bemenu-run: option '--tb' requires an argument` is bemenu's error
<pltrz>
at first I thought the variable wasn't expanded, but looks like it was
<leon-p>
pltrz: that is passed to `sh -c`, which thinks you want to start a comment with the first # and discards the rest of the line
elshize has joined #river
<leon-p>
we /really/ should change the colour format
<pltrz>
<leon-p "pltrz: that is passed to `sh -c`"> that would make sense!
<pltrz>
ughhhh
<pltrz>
maybe I can use backslash to signify literal #
<leon-p>
you can also quote them. Just make sure to escape the quotes since the entire command is quoted
<leon-p>
i.e. " \"#rrggbb\" "
<ifreund>
welcome to posix shell, an exercise in quoting hell
<ifreund>
and yeah, I think everything should stop using # for colors, including river
<leon-p>
I'll steel that quote
* emersion
stops processing the sentence at "using"
<ifreund>
:D
<pltrz>
<emersion "stops processing the sentence at"> what do you mean here?
<emersion>
i mean that i'm posix certified
<emersion>
(it's a joke)
<pltrz>
lol
<pltrz>
i thought might have to do with `mrsh`
<pltrz>
btw emersion - did you guys still have plans to work on `imrsh` ?
<emersion>
eh :P
<emersion>
no plans in the near future, sorry
<emersion>
shells are just too annoying to build
<pltrz>
no reason to apologize
<pltrz>
how I read it: "there are more entertaining priorities" lol
<emersion>
pretty much!
novakane has joined #river
novakane has quit [Quit: WeeChat 3.2]
novakane has joined #river
elshize has quit [Quit: WeeChat 3.2]
elshize has joined #river
<elshize>
ifreund: I keep getting weird crashes now sometimes when I close windows... I accidentally overwritten the log file, I'm waiting for another crash to get the logs.
<novakane>
leon-p: I was looking at lisp shell after you conversation, that's cool! Did you forget to include the deps folder though?
<leon-p>
note that it does not actually execute commands yet, I am only working on the evaluator rn
<novakane>
leon-p: thanks, I'll have a look
<novakane>
RE: my mouse problem, so nobody has any issue with selecting things with the mouse here?
<leon-p>
novakane: selecting things via pointer works in both firefox and foot
<novakane>
damn so it could be from something else than river, well time to investigate
<elshize>
novakane: I don't have any problems either
<novakane>
:/
waleee has joined #river
<novakane>
what's cursor down mode?
snakedye has joined #river
snakedye has quit [Ping timeout: 272 seconds]
snakedye has joined #river
snakedye has quit [Ping timeout: 272 seconds]
snakedye has joined #river
snakedye has quit [Ping timeout: 258 seconds]
<ifreund>
elshize: that's no good, they're definitely new after a recent commit though? A stack trace would be very useful in any case
<ifreund>
novakane: I can't reproduce any mouse issues
<ifreund>
cursor down mode is when a button is held down as we keep sending events to a client while the button is held down until it is released even if the cursor moves outside of the surface
<elshize>
ifreund: can't be sure if they're new, at least I just noticed them today. I'll grab the logs once it crashes again
<ifreund>
that'd be great, thanks
Guest80 has joined #river
noopdecoder has quit [Quit: noopdecoder]
Guest78 has joined #river
<novakane>
ifreund: ok thanks for the explanation, well for whatever reason it works again now, no idea why
<novakane>
looks like this line was here but I don't have it anymore