leopoldek has quit [Remote host closed the connection]
valle314 has joined #river
valle314 has quit [Client Quit]
valle314 has joined #river
<valle314>
Hi :)
<valle314>
I want to write a tiler with the river-layout-toolkit in rust. A new view location should depend on the currently focused window. is there a way to get the currently focused window?
tiosgz has joined #river
<tiosgz>
hi valle314 :)
<tiosgz>
the only way for the focused window to affect a new window location is the attach-mode (which only decides where in the river-internal list of windows the new one should be)
<tiosgz>
if you intend to split the layout at the focused window or something like that, this isn't possible at the moment
<tiosgz>
(but there's a huge redesign in the coming where you'll be able [and required] to manage even stuff like tags [or whatever alternative you choose] yourself)
<valle314>
Alright thank you for the fast answer! That was exactly my goal.
<valle314>
I come from hyprland and I preferred the location of new views there and that I can resize them.
<valle314>
Nice to hear :) I guess I'll just have to wait a little while.
valle314 has quit [Ping timeout: 256 seconds]
valle314 has joined #river
tiosgz has quit [Quit: nyaa~]
valle314 has quit [Ping timeout: 256 seconds]
valle314 has joined #river
valle314 has quit [Client Quit]
lordmzte5 has joined #river
lordmzte has quit [Ping timeout: 265 seconds]
lordmzte5 is now known as lordmzte
<Nickli>
i'm stumped why would "riverctl spawn swaybg "~/Pictures/wp/wallpaper-name_1440p.jpg" work in terminal but not config?
tiosgz has joined #river
<tiosgz>
Nickli: first, riverctl spawn takes a single argument; and maybe you're better off running swaybg directly (without riverctl spawn), just don't forget to background it
<tiosgz>
second, depending on the situation, the ~/ may not get expanded. but if the command works in the terminal, i'd only look into this when it still doesn't work after my first point
tiosgz has quit [Quit: nyaa~]
<Cornelius-Figgle>
Nickli: thanks, Ill check that out!
<Nickli>
i tried running "river" from terminal and expanded correctly, but still didn't know what to do with a picture
<vyivel>
Nickli: does `riverctl spawn swaybg /home/<user>/Pictures/wp/wallpaper-name_1440p.jpg` work in config?
<Nickli>
it does start a swaybg process
<Cornelius-Figgle>
Nickli: I've read into wprs, seems interesting as a RD client, but since it seems to require using its client to connect I don't think that will be possible from my tablet (but thanks for the suggestion)
<Nickli>
not sure if from autostart or river/init
<Nickli>
Cornelius-Figgle, thought i saw something about swayvnc, don't recall if it would work on a non existant display
<Cornelius-Figgle>
I know sway (and gnome) have support for what I wish todo, I assumed their methods for only for their respective WMs/copositors?
<Cornelius-Figgle>
does anyone know of an i3/sway-like tiler for river?
tiosgz has joined #river
<tiosgz>
Nickli: do you still 'riverctl spawn swaybg path/to/pic.jpg'? cos once again, riverctl spawn only takes one argument, so it's supposed to be 'riverctl spawn "swaybg path/to/pic.jpg"'
<tiosgz>
Cornelius-Figgle: re tablet as external screen, i think WLR_HEADLESS_OUTPUTS can be used to create a virtual output that a client could then somehow connect with the tablet. i don't recall much on this though
<tiosgz>
re i3/sway-like tiling, that isn't even possible with river's current architecture
<leon-p>
I think I tried the tablet as external screen thing a few years back and it worked, but I can't remember details. Never used it for more than a few minutes because the tablet was slow and extra screens are overrated anyway if you have tags/workspaces
kotto has quit [Ping timeout: 276 seconds]
<Nickli>
tiosgz, yeah it has "swaybg ...jpeg"
kotto has joined #river
leopoldek has joined #river
tiosgz has quit [Quit: nyaa~]
artei has joined #river
<artei>
Hi is it possible to bind the action of going to next tag? E.g. I am currently on "5" and by Mod-N I switch to 6th tag, doing Mod-P goes backwards etc.