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/
mtm has quit [Ping timeout: 255 seconds]
mtm has joined #river
sentry has joined #river
Snetry has quit [Ping timeout: 260 seconds]
waleee has quit [Ping timeout: 244 seconds]
eShaev9z has joined #river
eShaev9z_ has quit [Ping timeout: 248 seconds]
Palanix_ has joined #river
Palanix has quit [Ping timeout: 246 seconds]
Palanix_ is now known as Palanix
lordmzte6 has joined #river
lordmzte has quit [Ping timeout: 252 seconds]
lordmzte6 is now known as lordmzte
kdk has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
TheAnachron has joined #river
angry_vincent has joined #river
leopoldek has quit [Remote host closed the connection]
sentry has quit [Ping timeout: 260 seconds]
Snetry has joined #river
Vartroc has joined #river
Vartroc has quit [Ping timeout: 248 seconds]
vim54 has joined #river
<vim54> hello?
<Franciman> h ivi
<Franciman> hi vim54
<vim54> hello, i have a  question about window management in river
<vim54> the default keybinds to resize the windows is :
<vim54> riverctl map normal Super+Alt+Shift J resize vertical 100
<vim54> but they switch my windows to float mode, is there any way i can resize windows while still being in tiled mode?
alexherbo2 has joined #river
angry_vincent has quit [Ping timeout: 276 seconds]
alexherbo2 has quit [Remote host closed the connection]
vim54 has quit [Quit: Client closed]
<aktina> so many keys to hold on, so awkward in my hands
<aktina> resize command in riverctl turns it into floating mode before resizing
<aktina> i think you have to mess with your rivertile config to resize in tiling mode
<aktina> or some other layout generator entirely, as rivertile can only adjust main-ratio i.e horizontal size, not vertical which you seem to want in your case (if i'm not wrong _checks manpage_)
AlmostSurelyRob has joined #river
<AlmostSurelyRob> Hello,
<AlmostSurelyRob> So I've been now using River for some time and really liking it. In fact, I've been using for long enough to be spotted by my company for not using an approved screen locker. I was originally on waylock. swaylock is approved so I switched, but i thought I will simplify my setting my having only one command in a variable and have both swayidle and
<AlmostSurelyRob> lock shortcut. I did this:
<AlmostSurelyRob> https://bpa.st/OSEQ,
<AlmostSurelyRob> but the use of a variable in river/init doesn't seem to be working - can someone explain why and if it's possible to have only one lock screen command used in multiple setting commands?
AlmostSurelyRob has quit [Quit: Client closed]
Vartroc has joined #river
Vartroc has quit [Ping timeout: 248 seconds]
fitrh has joined #river
<TheAnachron> does swayidle work with watching movies/music? or do you have to keep moving your mouse?
fitrh has quit [Remote host closed the connection]
<TheAnachron> not sure why you dont put those arguments into a shell script and simply run the shell script?
<TheAnachron> I guess I will give https://git.sr.ht/%7Ewhynothugo/wayidle a try for auto locking :)
vim1729 has joined #river
tiosgz has joined #river
vim1729 has quit [Ping timeout: 256 seconds]
<tiosgz> AlmostSurelyRob: you're missing the 'spawn' in your keybind. also, the 'export' is unneeded if you don't use the variable anywhere but your init
tiosgz has quit [Quit: nyaa~]
mtm has quit [Ping timeout: 244 seconds]
vim1729 has joined #river
vim1729 has quit [Client Quit]
belanthor has joined #river
mtm has joined #river
belanthor has quit [Quit: Leaving]
belanthor has joined #river
CelestialCrafter has joined #river
IchikaZou has joined #river
IchikaZou has quit [Remote host closed the connection]
CelestialCrafter has quit [Client Quit]
AlmostSurelyRob has joined #river
belanthor has quit [Quit: Leaving]
<AlmostSurelyRob> Right @tiosgz and sorry - an obvious remissness on my side.
<AlmostSurelyRob> Thank you!
<TheAnachron> sometimes its the simple things!
<TheAnachron> it took me 1 hour to debug an issue with a script. but the script wasnt the problem. :D
Guest13 has joined #river
alexherbo2 has joined #river
Guest13 has quit [Client Quit]
angry_vincent has joined #river
waleee has joined #river
leopoldek has joined #river
aktina has quit [Quit: ZNC 1.8.2+deb2+deb11u1 - https://znc.in]
Den4ikRus has joined #river
aktina has joined #river
AlmostSurelyRob has quit [Quit: Client closed]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #river
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #river
Guest73 has joined #river
Guest73 has quit [Client Quit]
leopoldek has quit [Remote host closed the connection]
leviathan has joined #river
angry_vincent has quit [Ping timeout: 252 seconds]
leviathan has quit [Client Quit]
leopoldek has joined #river
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #river
TheAnachron has quit [Quit: TheAnachron]
<szgy> hi y'all, I was wondering what do y'all do regarding turning off the screen. I've been using waylock to lock the screen with a keybind, but I wanted to actually turn the screen off on a keybind and wake it up when moving the mouse (or pressing a key)
<szgy> is swayidle the only software capable of doing this??
<szgy> mhm, I correct myself, swayidle is just to do smth after a timeout. So not necessarily applies to this...
alexherbo2 has quit [Remote host closed the connection]
<vyivel> szgy: wlopm?
<szgy> wlopm takes care of turning of a display. Buuut, how to handle turning it on when I move the mouse, or press a key?
<szgy> (probably by pluging wlopm to smth else, but what?)
<vyivel> swayidle timeout 0 true resume 'wlopm --on *'
<vyivel> ?
<vyivel> a bit hacky but might work
<autisticshark> I have the following swayidle/swaylock/wlopm stuff in river/init if it helps:
<autisticshark> swayidle -w timeout 1230 "notify-send -u low System 'Locking session in 30 seconds'" timeout 1260 "swaylock-desktop-image.sh" timeout 1800 "wlopm --off '*'" resume "wlopm --on '*'" &
<szgy> mhm! yeah. I don't know why I refrain from installing swayidle. It feels like cheating river xD
<szgy> mhm I think I can't use the resume event since I'm not using systemd :(
<szgy> oh wait, it does work...
<aktina> on not having systemd, you'd be having trouble with on-suspend option
<aktina> resume event works just fine
<szgy> yep
<aktina> szgy: for on-suspend like activity, you can use this idea https://www.reddit.com/r/voidlinux/comments/10uqjnu/swaylock_on_lid_closesuspend_without_wlogind/
<aktina> zzz hook script being /etc/zzz.d/suspend/notify with that touch /run/zzz/will-sleep command in it
<aktina> before that in rc.local have the command mkdir -p /run/zzz && touch /run/zzz/will-sleep
<aktina> then use wendy to run "wendy -w /run/zzz/will-sleep $swaylock command
<aktina> courtesy ahesford, on voidlinux channel who helped me with this just now
<szgy> heh, nice, gonna check it out!
<szgy> mhm, seems like a lot xD
AlmostSurelyRob has joined #river
AlmostSurelyRob has quit [Quit: Client closed]
alexherbo2 has joined #river
isonat has joined #river
isonat has quit [Client Quit]
vim1729 has joined #river
<vim1729> hello, anyon here :)
<leon-p> hello
<lordmzte> Is it possible to apply a fragment shader to a surface/an output/all outputs under river?
<leon-p> not without modifying the code
<leon-p> and even then I don't think you can just insert shaders into the default wlroots renderer
<leon-p> user provided shaders would be neat though, they basically allow us to solve 1/2 of all eye-candy feature-request without actually implementing them :)
<lordmzte> Yea, I'd mostly use them to shove everything through a lookup table to catppuccin-ify my colors :P
<lordmzte> I think hyprland has this, but I haven't used that since they added it. They have a custom renderer, though.
<leon-p> the other half, animations, can actually be mostly done clientside by WMs by simply drawing animations to surfaces and showing/hiding the actual windows accordingly. I have thought about that on the bus ride home today and am surprised how cleanly you can implement most common animations that way
<lordmzte> There's also a program, the name of which I forgot that can do this for individual windows, but it only works for vulkan. it uses some vulkan-specific middleware thing.
<lordmzte> That's a neat way of doing it. I'd never bother writing animations myself, though.
<vim1729> riverctl map normal Super+Alt+Shift H resize horizontal -100
<vim1729> why does this change my window mode to floating automatically??
<vim1729> i want to resize windows in tiled mode, is there any way?
alexherbo2 has quit [Remote host closed the connection]
<leon-p> vim1729: resizing individual windows will always auto-float them due to limitations of the layout protocol
<leon-p> if you wish to change the layout, you'll have to send commands to the layout generator
<leon-p> however, a layout which allows individual windows to be resized in-situ isn't cleanly doable
<lordmzte> The size and position of non-floating windows is always set by the layout generator, I assume rivertile in your case. With rivertile, you can change the size ration of the main window with `send-layout-cmd rivertile main-ration +0.05/-0.05` for example, which is probably as close as you're gonna get.
<vim1729> yes thanks for reply, i know about the main-ratio command but it change the layout in all the workspaces, which i dont want
<leon-p> vim1729: there are alternative layout generators, which store certain variables, like main-ratio (or something similar) per-tagset
<leon-p> check the wiki on codeberg, there is a list of community layouts
<vim1729> oh, i will try them then...thanks leon :) and  i love river as i used bspwm in x11
vim1729 has quit [Quit: Client closed]
<lordmzte> How would one even implement a layout generator that can keep track of individual windows? I though the only information a layout generator gets is the number of windows, not being able to tell them apart.
<leon-p> I don't think you can. This has come up often and each time I instinvtively spend at least three or four minutes thinking about it, but I can't even come up with a hacky workaround
<lordmzte> Oh you said per-target earlier, I read per-surface for some reason :P
<lordmzte> well you could probably do it by routing every single request that moves windows around through the layout generator first so it can keep its own state and infer windows being added and removed by the number changing.
<lordmzte> and sorry for possibly wasting 4 minutes of your life :D
<leon-p> I mean, a wayland client can also get the position of it's window on screen by painting it bright purple, taking a screenshot and searching for the colour. At some point you just have to stop :D
kdk has joined #river
Den4ikRus has quit [Ping timeout: 265 seconds]