ChanServ changed the topic of #river to: river - a dynamic tiling Wayland compositor || https://codeberg.org/river/river || channel logs: https://libera.irclog.whitequark.org/river/
SkettiSouls has joined #river
<SkettiSouls> is there a way to get the geometry of the currently focused view?
glenneth| has quit [Changing host]
glenneth has joined #river
<leon-p> SkettiSouls: no and that is on purpose, people would only use it for weird hacks
<SkettiSouls> yeah i looked around and saw the reasons
<SkettiSouls> thanks
<leon-p> what's your use case? perhaps it can be solved in a different fashion
Guest99 has joined #river
<Guest99> yo boss, how do i get all current tags?
eShaev9z_ has joined #river
eShaev9z has quit [Ping timeout: 265 seconds]
Guest99 has quit [Ping timeout: 256 seconds]
Guest99 has joined #river
Palanix_ has joined #river
Palanix has quit [Ping timeout: 272 seconds]
Palanix_ is now known as Palanix
Momentum has quit [Quit: WeeChat 4.3.2]
wuyoli has quit [Quit: WeeChat 4.3.1]
travankor has quit [Read error: Connection reset by peer]
Guest99 has quit [Quit: Client closed]
alebastr has quit [Remote host closed the connection]
alebastr has joined #river
leopoldek has quit [Remote host closed the connection]
oryx has joined #river
SkettiSouls has quit [Quit: Client closed]
<oryx> Hello, I am having trouble mapping caps to escape.
<oryx> I have tried two methods, one is a program from gitlab called caps2esc, this has worked for me in the past on hyprland but I'm not sure why it's not working now
<oryx> the other method I tried is a rust program called xremap that I can get to work manually through terminal with sudo but cannot get to autostart
oryx has quit [Ping timeout: 248 seconds]
oryx has joined #river
oryx has quit [Quit: Lost terminal]
<novakane> oryx: you can do it in your river init with the `riverctl keyboard-layout` using the `-options` flags, I don't remember the options that you need for that though
<novakane> I personally use `-options 'caps:escape_shifted_capslock'` to have escape to caps but still caps lock with shift + caps
<novakane> iirc you can find options in xkeyboard-config(7) man page
dagle8 has joined #river
dagle8 has quit [Remote host closed the connection]
<__toor__> would it be possible to render a window in rivertile on a different scaling?
<__toor__> so say, render the main windo won the left at 1:1 and then the non-primary ones say in 1:3 or 1:2
<Nickli> are you talking DPI scaling or the ratio windows are split?
alexherbo2 has joined #river
<leon-p> __toor__: no
<leon-p> in theory an interesting feature which I can imagine may be useful, but I doubt it's even realistically implementable with wlroots scene graph
<vyivel> it's not possible with built-in subsurface tree helper but you can roll your own
<vyivel> scene itself isn't a problem here
<leon-p> interesting
<leon-p> i was under the impression scene did magic things w.r.t. output layout
Palanix has quit [Ping timeout: 265 seconds]
Palanix has joined #river
<vyivel> it notifies scene surface helpers of the primary output for each one
<vyivel> your own surface helper implementation can do whatever it wants with that info
<vyivel> and scale the buffers however it wants
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #river
alexherbo2 has quit [Remote host closed the connection]
leopoldek has joined #river
catman has quit [Quit: WeeChat 4.3.0-dev]
catman has joined #river
yam has joined #river
yam is now known as yam2
yam2 has quit [Client Quit]
ramblurr has quit [Remote host closed the connection]
ramblurr has joined #river
Krrly has joined #river
<Krrly> hi guys! hope you're all doing well :) i have a small question regarding river (specifically it's config), i have been trying to get it running but it can't seem to read the config file no matter what i try. it's correctly placed (~/.config/river/) but no matter how i start river it never acknowledges that there is a config file, i tried using ly,
<Krrly> sddm and lightdm as display managers and i tried starting river from the cli, all of it returning a teal screen with a mouse. any help on this would be greatly appreciated :D this project looks really promising and i'd like to be a part of the community
<soulseeder> Krrly: assuming you are talking about an init script, first make sure it is an executable file (chmod +x)
<Krrly> yes i am
<Krrly> i am pretty sure it is executable
<Krrly> i double checked, it is executable but still nothing happens
<soulseeder> does it call a layout generator in the end? (most commonly rivertile)
<Krrly> i have been trying using the example config just to see if something loads so i'd assume so
<Krrly> then again, no keybinds or anything work/get registered
<soulseeder> huh well those two were the things that I forgot to do with my config so I am out of ideas for now :/
<Krrly> i checked again (i have to reboot every time i try anything so it takes a minute) yes it does call rivertile functions
<soulseeder> huh, if you run it from a console do you see the logs?
<Krrly> i do not, it just starts right up
<Krrly> cli that is
<soulseeder> you can do something like 'river 2>&1 | tee river.log' and read it after the reboot
<Krrly> oh! i got logs
<Krrly> some warnings
<Krrly> unsupported maximum keycode 708, could not resolve keysym xf86kdinput
<soulseeder> you could also try putting "echo foobar" in the init script to see if it actually loads
<Krrly> just riverctl echo foobar?
<soulseeder> Krrly just echo foobar, without riverctl
<soulseeder> init is just a shell script after all, you should see "foobar" in the logs
<soulseeder> I have the same warning btw
<Krrly> the logs show foobar
<Krrly> and it *is* reading my init (at least that's what the logs show)
<soulseeder> nice
<soulseeder> (I mean, we are getting somewhere)
<Krrly> something is better than nothing!
<Krrly> as a test to see if anything would load i tried to do riverctl background-color 0x262626, so even if the keyboard doesn't work for some reason i can still see if it does something, however it is not, still teal
tiosgz has joined #river
<Krrly> strange... super shift e closes river now, so there's something happening but it still doesn't load the majority of stuff
<Krrly> also hello tiosgz!
<tiosgz> Krrly: have you made some modifications to the init? it looks like you're starting a long-running process
<tiosgz> hello :)
<soulseeder> Krrly: also FYI you may not need to reboot, just open a second console (Ctrl+Alt+F{2,3,...}) and then you can just kill it
<tiosgz> (wrt rebooting or killing river, you can also do WAYLAND_DISPLAY=wayland-1 riverctl exit from another tty)
<Krrly> tiosgz i am currently trying out the example config with 2 changes, alacritty as a terminal and trying to change a background color
<Krrly> i managed to get a terminal up!
<soulseeder> tiosgz: oh thx never knew a proper way to signal a Wayland display :)
<Krrly> very good to know yeah, will keep that in mind :)
yam2 has joined #river
<Krrly> hello yam2!
<yam2> sup
<Krrly> tiosgz soulseeder i think i got things running? i managed to get up a terminal, close the focused view and exit river
<yam2> Is it possible for me to have it so when I click to drag windows they won't just float where I move them and instead go back to tiled but where I dragged it to? or is that a job for a custom layout generator
<tiosgz> if the terminal is tiled (i.e. the layout generator is running) then everything is good indeed
<Krrly> and i don't see any errors except the keycode stuff, what are those about?
<soulseeder> Krrly: sounds like you did, try to open a few terminals to see if they get tiled as tiosgz suggested
<Krrly> yes the terminal is tiled
<tiosgz> Krrly: don't worry about the keycode stuff. i don't know what exactly it means but it shows even with a perfectly working setup
<Krrly> odd
<Krrly> but it sounds like i got it running finally! *only took me a week and some friendly people :)* tysm for your help!
<tiosgz> yam2: unfortunately not. i suppose it will be possible in the future, but still not river's job
<tiosgz> Krrly: yw :)
<tiosgz> also would you please not assume everyone in the channel is a guy? :)
<Krrly> my apologies! thought the term guy (as in refering to a group) was gender neutral :)
<Krrly> one more thing, can i use hex codes to tell river what colors to use?
<tiosgz> i think you can *only* use hex codes. what's the matter?
<tiosgz> (though the format isn't the usual #abcdef but rather 0xabcdef)
<yam2> tiosgz: That's a shame, only thing hyprland does that I like heh
<Krrly> just wanted to make sure, i saw people using 0xabcdef and was confused since i was used to other window managers defining colors as "# hex code"
<Krrly> another question '=D , does river require shift for the terminal to spawn? i got very used to super enter but trying to change the bind to super return or super+return doesn't seem to spawn the terminal anymore
<yam2> "Super Return" not "Super+Return"
<yam2> riverctl map normal Super Return spawn foot
<yam2> oh I saw you said you tried that
<yam2> eh, it should work
<Krrly> it doesn't, hmm
<Krrly> i can figure that out later :)
<Krrly> how can you move floating windows?
<Krrly> super + left mouse?
<yam2> yeah by default, super + space to enable/disable floating
<Krrly> but how can you move the floating windows?
<yam2> super + left, like you said
<tiosgz> re terminal, maybe you haven't re-run the init (or just the command alone). remember it's just a shell script and river doesn't treat it in any special way apart from executing it at startup
<Krrly> perfect, then my desktop was interferring (i have been testing this on kde plasma to save myself some headache)
<Krrly> tiosgz i have, i restarted river and made sure to save changes
<Krrly> (still ty all a lot for helping get this running in the first place :) )
yam2 has quit [Quit: Client closed]
tiosgz has quit [Quit: nyaa~]
Krrly has quit [Quit: Client closed]
pkap has quit [Quit: Left]
pkap has joined #river
catman has quit [Read error: Connection reset by peer]
catman has joined #river
<gbrlsnchs> (sorry for the delay) I just noticed ifreund mentioned wlroots 0.18 might be the culprit for `wl-mirror HEADLESS-1` not being able to mirror anything and just show a black screen. Was/is anyone capable of reproducing the same issue as I, with the same settings? [river 0.3.5, wlroots 0.18.1]
<ifreund> gbrlsnchs: I haven't found the time, the best way to make sure something like this doesn't slip through the cracks is to open an issue on codeberg to track it
<ifreund> it's fine if doesn't turn out to be a river bug in the end
<gbrlsnchs> ifreund: sounds good, I'll open an issue then, thank you!