<crypt_>
hi I have a bit of code that ti am trying to get working to add a new bit of positioning code for adding a new view.
<crypt_>
I have the following but it does not compile and ti am not sure why
<crypt_>
const first = self.first;
<crypt_>
const second = self.first.next;
<crypt_>
if (second != null) {
<crypt_>
any ideas?
<crypt_>
this is within ViewStack
priner has joined #river
ChanServ has quit [shutting down]
ChanServ has joined #river
guest23 has joined #river
guest23 has quit [Quit: Client closed]
guest23 has joined #river
user181308142001 has joined #river
<user181308142001>
Hi, does anyone know of a simple program to output the currently focused tags in river? I know this is possible with river-status-unstable-v1.h, but I cannot find a simple program that uses this protocal to print to stdout. I am willinging to do some pharsing on the data, so if there is a program that outpus all tags with more info etc., please let
<user181308142001>
me know also. Thanks a lot :)
<bfiedler>
user181308142001: there is ristate
user181308142001 has quit [Quit: Client closed]
yyp has quit [Ping timeout: 268 seconds]
snakedye has joined #river
<ifreund>
crypt_: could you put the error you're getting in a pastebin?
ext0l has quit [Ping timeout: 265 seconds]
<guest23>
hola, how to move windows from one screen to another? To current active tag on another screen? Right now it moves to the same tag, not visible one
<bfiedler>
I think you can use distinct tags on both screens
yyp has joined #river
guest23 has quit [Quit: Client closed]
user181308142001 has joined #river
<user181308142001>
bfiedler: thanks a lot, I was using yambar's debug logs as a placeholder, this seems much better though :)
<ifreund>
yeah the error messages definitely aren't all that great yet, the language isn't 1.0
<crypt_>
well at least zig does not seem to have the new feature of the week tht rust appears to have
<ifreund>
oh yes, zig is *way* simpler than rust
<ifreund>
if you're already familiar with C or something similar you should be able to get up to speed on zig in a matter of days
<crypt_>
the biggest issue that I have with zig is getting my head around using allocators
pkap has joined #river
<crypt_>
I have been using memory managed languages like python and lua for too long
crypt_ has quit [Remote host closed the connection]
snakedye has quit [Ping timeout: 264 seconds]
crypt_ has joined #river
<crypt_>
well there re times that I missed one of the features of my old x200 thinkpad. It always told you in no uncertain terms when it was about to go flat
guest23 has joined #river
<guest23>
another question - why Save as dialog not opening in Chrome? Any ideas?
<guest23>
and there was a fork of river with double borders which is not available at the moment, do you aware why so?
<guest23>
bfiedler can you please elaborate on using distinct tags on different views? trying to fit my head around tags/views
<guest23>
anybody using musl void on daily basis? Curious to understand what kind of issues possible there
<ifreund>
you're probably better off asking in #voidlinux
<guest23>
curious to know according to the usage of Wayland and river
<guest23>
but yeah, you are right, thanks
snakedye has quit [Ping timeout: 240 seconds]
snakedye has joined #river
<ifreund>
guest23: I run void musl on my laptop, river works fine
ralphptorres has quit [Quit: WeeChat 3.2.1]
guest23_ has joined #river
ralphptorres has joined #river
ralphptorres has quit [Client Quit]
pkap has quit [Quit: Client closed]
pkap has joined #river
snakedye has quit [Ping timeout: 264 seconds]
snakedye has joined #river
pkap has quit [Quit: Client closed]
leon-p has joined #river
snakedye has quit [Ping timeout: 252 seconds]
guest23 has quit [Quit: Client closed]
guest23_ is now known as guest23
snakedye has joined #river
snakedye has quit [Read error: Connection reset by peer]
snakedye has joined #river
guest2396 has joined #river
waleee has quit [Quit: WeeChat 3.2.1]
guest2347 has joined #river
guest2347 has quit [Client Quit]
dbuckley has quit [Remote host closed the connection]
waleee has joined #river
dbuckley has joined #river
snakedye has quit [Read error: Connection reset by peer]
snakedye has joined #river
guest2396 has quit [Ping timeout: 256 seconds]
waleee has quit [Ping timeout: 246 seconds]
waleee has joined #river
snakedye has quit [Read error: Connection reset by peer]
leon-p has quit [Ping timeout: 260 seconds]
snakedye has joined #river
leon-p has joined #river
novakane has quit [Quit: WeeChat 3.2.1]
snakedye has quit [Read error: Connection reset by peer]
leon-p has quit [Ping timeout: 246 seconds]
snakedye has joined #river
leon-p has joined #river
snakedye has quit [Ping timeout: 246 seconds]
snakedye has joined #river
snakedye has quit [Read error: Connection reset by peer]
snakedye has joined #river
<crypt_>
ifreund: thanks very much my after_top attach_mode code now works
snakedye has quit [Read error: Connection reset by peer]
<crypt_>
ok i am now confused. It works fine but only on tag 1
<leon-p>
crypt_: I missed that discussion, but I assume you are trying to create a new setting for attach_mode to attach views after the top view, right?
<leon-p>
In that case, remember that there only is a single stack across all tags of an output
<leon-p>
and the first visible view is not necessarily the top view
snakedye has joined #river
snakedye has quit [Ping timeout: 246 seconds]
<crypt_>
yes I basically just did a wrapper round the attach-top that then does a swap afterwards
snakedye has joined #river
<crypt_>
ah that makes sense now
<crypt_>
so I need to do a filter to wind the first it
<crypt_>
tem for the tag that I am looking at
<crypt_>
I see that there are filter functions there
<crypt_>
would I be right in saying that ti should be using the iter method for what I am wanting to do?