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/
elshize has quit [Ping timeout: 248 seconds]
waleee has quit [Ping timeout: 244 seconds]
babkock has joined #river
babkock has quit [Remote host closed the connection]
kztx has joined #river
<kztx> Hello! I have a laptop and as of today a monitor. I want to mirror my display, and turn off my laptop display if it can be smart enough to turn back on if the monitor were to be unplugged.
<kztx> I was able to "mirror" with wlr-randr --output DP-3 --pos 0,0 but then I have to deal with making and learning a new workflow with tags and I don't have the capacity for that
lordmzte1 has joined #river
lordmzte has quit [Ping timeout: 252 seconds]
lordmzte1 is now known as lordmzte
palanix_ has joined #river
palanix has quit [Ping timeout: 272 seconds]
palanix_ is now known as palanix
cow is now known as caw
aktina has quit [Read error: Connection reset by peer]
aryak has quit [Read error: Connection reset by peer]
aktina has joined #river
aryak has joined #river
aryak has quit [Ping timeout: 248 seconds]
aktina has quit [Ping timeout: 248 seconds]
aryak has joined #river
aktina has joined #river
<apoorv569> I have my monitor config like this ATM, https://0x0.st/8jda.txt
<apoorv569> so eDP-1 which is my laptop's display should be on bottom and HDMI-A-1 which is external monitor should be on top.. but for some reason it configures my laptop's display on left and external monitor on right
<apoorv569> Am I doing it wrong? should they be one line or something?
<LarstiQ> I am used to writing it on one line, or then use e.g. Kanshi
<LarstiQ> apoorv569: also, there is --left-of etc
<apoorv569> TheAnachron: Well wayland compositors have these stuff built in usually. I mean TBH river is the only WM that I personally like so far on wayland side..
<apoorv569> I still use DWM mostly.. but slowly trying to make a good workflow on river for me..
<apoorv569> LarstiQ: I see.. let me check man page for wlr-randr..
<TheAnachron> apoorv569: I think it's good that river doesn't have this built-in, I come from cwm and even wmutils on Xorg which I would consider pretty minimal
<TheAnachron> apoorv569: also I have never used wlr-randr, I use kanshi which is perfect :)
<apoorv569> LarstiQ: I don't see it, https://0x0.st/8jd_.txt
<apoorv569> I also noticed that I am not able to drag a window to another monitor by holding `Super + RMB`
<apoorv569> its like it gets stuck on the edge of the display..
glenneth has quit [Ping timeout: 245 seconds]
<LarstiQ> no dragging between outputs, correct
<apoorv569> is it intentional?
glenneth has joined #river
<LarstiQ> yes
<LarstiQ> are you using some old version of wlr-randr?
<apoorv569> I am on Guix, perhaps Guix has older version..
<TheAnachron> apoorv569: can you use negative coordinates?
<TheAnachron> apoorv569: use 0,0 for eDP1 and 0,-1080 for HDMI1.
<TheAnachron> but also check why you're an outdated version of wlr-randr
<apoorv569> oh I have error in the command I have in my config, https://0x0.st/8jdp.txt
<apoorv569> TheAnachron: Guix can be slow somtimes with updates, I'll send them patch if possible.
<apoorv569> Umm.. I have that resolution and refresh rate, https://0x0.st/8jdO.txt
<TheAnachron> apoorv569: what? I never said anything about resolution and refresh rate. I was talking about using --pos 0,0 for EDP1 and --pos 0,-1080 for HDMI1
<apoorv569> TheAnachron: I was talking about my error..
<apoorv569> it doesn't apply my config because there is an error
<apoorv569> position is fine, as you can see in the last paste I shared.. and ATM I have monitor on top and laptop on bottom
<TheAnachron> just remove the @60 and it may work?
<apoorv569> it does.. so it will use 60Hz automatically?
<TheAnachron> it should, yes, you can check it
<apoorv569> OK, I'll try this.. need to logout/login again..
<TheAnachron> btw, wlr-randr seems to be uptodate on guix, at least based on the old repo at sourcehut: https://git.sr.ht/~emersion/wlr-randr/log
<TheAnachron> The new release https://gitlab.freedesktop.org/emersion/wlr-randr/-/releases 0.5.0 is on the new upstream
<apoorv569> I have 0.4.1 on Guix ATM
<apoorv569> where did you check version for Guix..
<apoorv569> yea it needs a update..
kraem has quit [Remote host closed the connection]
kraem has joined #river
notchoc has quit [Ping timeout: 265 seconds]
aryak has quit [Ping timeout: 260 seconds]
aktina has quit [Ping timeout: 252 seconds]
aktina has joined #river
aryak has joined #river
notchoc has joined #river
notchoc has quit [Ping timeout: 245 seconds]
aryak has quit [Ping timeout: 268 seconds]
aktina has quit [Ping timeout: 268 seconds]
aktina has joined #river
notchoc has joined #river
aryak has joined #river
Keeto has joined #river
<apoorv569> Yea it works without 60Hz.. that was the issue then I guess..
Keeto has quit [Ping timeout: 252 seconds]
flower_ has joined #river
<leon-p> putting wlr-randr commands into the river init isn't a good solution, it's potentially racy
<leon-p> just use kanshi
<apoorv569> leon-p: how is it racy?
<apoorv569> its bash script right.. so it runs the command and thats it no?
<leon-p> because the displays may be discoverd only after the init is executed
<leon-p> river will ignore configuration attempts of non connected outputs
<leon-p> use kanshi
<leon-p> I am needed in the lab now, will checkin later again
<apoorv569> leon-p: I haven't had any issues yet.. I'll keep kanshi in mind if I do encounter some issue..
<leon-p> kztx: kanshi is also the answer to your question. don't think about mirroring, that's not actually what you want.
<apoorv569> BTW I don't use river full time yet.. I try it every now and then.. I am just so used to DWM.
Keeto has joined #river
Keeto has quit [Remote host closed the connection]
Keeto has joined #river
<flower_> apoorv569: so what is different or missing compared to dwm?
<flower_> apoorv569: I was a dwm user as well, now mainly on river. So far so good, all though I do miss monocle and the 'deck patch'
lactose has quit [Quit: honk shoo mimimi]
lactose has joined #river
Guest87 has joined #river
Guest87 has quit [Quit: Client closed]
elshize has joined #river
<ifreund> flower_: both of those can be done with layout generators, this is why layout generators exist
<ifreund> TheAnachron: negative output coordinates break xwayland by the way
<ifreund> river will reject them if xwayland is enabled
<flower_> ifreund: you said you don't use a bar in river? How does that work for you?
Keeto has quit [Ping timeout: 260 seconds]
<Franciman> ifreund: what is your experience with implementing river in zig?
<ifreund> zig is great, river is better because of it
<Franciman> oh really, do you have a blogpost discussing this statement, by chance?
<Franciman> or videopost i don't know
<Franciman> i would be very interested
<ifreund> Franciman: there's a very old talk from before river's first release https://www.youtube.com/watch?v=mwrA5IRGpfU
<ifreund> flower_: not quite sure what you're asking, not using a bar works well for me?
<ifreund> otherwise I would use one
<flower_> I'm wondering how you know on which tag you're and which application runs on which tag
<ifreund> I remember and use conventions like "always put firefox on tag 3" or whatever
<ifreund> and if I lose a window I can focus all tags to find it
<flower_> I see
<ifreund> also cycling through all the tags with keybindings can be done in like 1 second for me
<ifreund> I have a comfy keyboard and all the numbers on one hand
<flower_> to make a window/tag switcher
<ifreund> nope
<flower_> ok
<apoorv569> flower_: rivercarro can do monocle.. I rely heavily on scratchpads.. I have a lot of them.. htop, pulsemixer, ranger, nvtop, wavemon, terminal, etc etc..
<apoorv569> another thing is that if I set monocle as a layout then tags go monocle.. I would rely like per tag/workspace stuff don't like global settings for all tags/workspaces
<apoorv569> window rules, which I think river can do right?
<apoorv569> also, monocle sometimes not really monocle its more like no gap, some windows like my terminal still shows border..
<apoorv569> BTW it is possible that all these things can be done on river and I just don't know about it..
<apoorv569> another thing would be the run launcher.. I use dmenu like a lot of the scripts.. now dmenu is not wayland native.. so sometimes dmenu's window gets weird in wayland WM/compositors sometimes..
<flower_> apoorv569: how can you manage multiple scratchpads?
<flower_> apoorv569: ah that's not possible in river or?
<apoorv569> flower_: What do you mean? I have a patch applied to my DWM for scratch and I bind different keybinds to open different scratchpad..
<flower_> yes per tag vs global is a thing
<flower_> apoorv569: I thought you where doing that in river, you're talking about dwm, I see
<apoorv569> I was telling you what I rely on, or reasons I haven't switched to river full time..
<apoorv569> things I might miss on river moving from DWM
<flower_> there is dmenu for wayland right? wmenu?
<apoorv569> all suckeless tools are heavily patched.. wmenu can accept all the patches?
<apoorv569> all my*
<flower_> and I just found fuzzel as replacement for rofi
<flower_> I didn't patch dmenu
<apoorv569> I heard about fuzzel, it doesn't look minimal like dmenu.. not saying its bad just not my preference.. I like minimal stuff.
<flower_> it's probably a rofi replacement, as more minimal then rofi probably
<flower_> *and
<apoorv569> yea.. not sure I'm slowly trying different things.. still pretty new to wayland world..
<apoorv569> I don't waybar either but don't know any other minimal bar for river..
<flower_> I had some issues in dwl (ipc patch related mostly I think), but I like wayland with river so far. It looks like River is doing a good job also with xwayland support
<apoorv569> would you mind sharing you config? I might find something of useful in there.. I can share mine as well if you want.
<flower_> I'm messi
<flower_> *messy ;)
<apoorv569> yea.. same river is the only WM I liked so far on wayland.. all others except sway are too flashy for me..
<flower_> yambar might be worth to take a look at
<apoorv569> no worries..
<apoorv569> yambar can show river tags?
<flower_> I think so
<flower_> I'm using waybar as I didn't want to spend time on a other bar atm, but might look at yambar later
<flower_> I've more or less the default setup for river (init)
<flower_> I use the river tag example of waybar
<apoorv569> yea that's what I did.. waybar is too much I feel like..
<apoorv569> I think I copied someone else's river init didn't even modify it except some keybinds..
<flower_> same here
<flower_> wayland seems to use a bit more resources then x11 by default
<apoorv569> you mean like more RAM usage?
<flower_> yes
<flower_> From a user perspective I prefer wayland I think (leaving the lacking things out of consideration, like remote desktop)
<apoorv569> hmm I didn't notice anything like that so far.. but again I haven't used wayland enough..
<flower_> I've nothing atm which doesn't work on wayland from the applications I'm using
<apoorv569> if you write river config in some other lang you need to call that script in the init right?
<apoorv569> flower_: What did you expect to not work but it does..?
<flower_> apoorv569: some say there might be audio plugin related issues https://linuxmusicians.com/viewtopic.php?p=173103&hilit=wayland#p173103
<flower_> there was a show/hide issue in sway and dwl, but not in river: https://github.com/brummer10/guitarix/issues/198
<flower_> river solved that last one for me, which make me leave dwl (together with waybar / ipc related crashes on dwl)
<apoorv569> hmm.. so you into music.. cool.
Keeto has joined #river
<apoorv569> I think sway is the best WM on wayland ATM.. but its a manual tiler which I don't prefer.. I like auto tiler..
<flower_> sway is good, but I can't work with it. Somehow dwm is genius design, minimal stuff, but does the right thing, intuitive ...
<flower_> I mean, sway it too complex for me in usage
<flower_> not sure what that says about me but ... :)
<flower_> For music / audio stuff, that resizing with mouse option is really functional I think in sway
<flower_> for when you've multiple modular music applications in your view
<flower_> the dwm deck patch also worked very good for me for this modular music apps setup/workflow
<apoorv569> I mean even on X side, there is something about i3/sway.. it just feels polished.. but again its a manual tiler.. also I don't like how to it handles multi monitors..
<apoorv569> your workspaces spread along all monitors very weird.. I want separate workspaces for each monitors..
<apoorv569> DWM is just too good for me.. been using it for years.. never switched to any other WM was my first I tried others but never switched..
<apoorv569> oh you like tiled individual plugins in a deck layout?
<flower_> I liked that patches system as well, but I see also value in how river tries to solve this, which is maybe even more user friendly and easier to maintain
<apoorv569> the good thing about IPC controlled WM is that you can make your own interface for configuring it.
<flower_> In theory everyone can make their own perfect wm with river I think.
<apoorv569> BTW when you tried dwl, did you apply any patches to it?
<flower_> yep, deck, multiple apps on the non-main-stack, but only one visible
<flower_> yes, deck :)
<flower_> and later ipc, which was buggy in my experience
<apoorv569> yea.. I don't like leaving DWM TBH.. I can wait more..
<flower_> toggling tags visible in river comes somewhat close to the deck workflow, which I try get acquinted to now. But I've the tendency to put a window on the right to fullscreen modus where in dwm I would toggle the deck 'view'
<apoorv569> just remembered another thing I would miss is sticky window.. I sometimes play a video on YT PIP and make the PIP window sticky.. so no matter where I go I can see the video playing on a corner of my screen..
<flower_> sticky is possible in river I think, see wiki
<flower_> things like zenity (bash) seems to work better in wayland/river. In dwm they filled up my main view
<flower_> sizing of floating windows seems to be better as well
<flower_> only issue in river is that (terminal) applications not always refresh/resize properly. Like resizing nvim and the text in the editor isn't displayed fully anymore.
<flower_> I've seen that on other terminal applications as well
<flower_> but didn't experienced that in dwl IIRC
* flower_ brb
<kztx> leon-p: If mirroring is not what I want, then what is it that I want?
<kztx> I'll try out Kanshi in home-manager and see what happens.
<kztx> OK well you know your shit
<kztx> This is fire thanks
br0qn has joined #river
br0qn has joined #river
br0qn has quit [Changing host]
br0qn has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
br0qn has joined #river
br0qn has quit [Changing host]
br0qn has joined #river
Keeto has quit [Ping timeout: 244 seconds]
user21 has joined #river
br0qn has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
br0qn has joined #river
br0qn has quit [Client Quit]
br0qn has joined #river
lactose has quit [Ping timeout: 260 seconds]
br0qn has quit [Remote host closed the connection]
br0qn has joined #river
br0qn has quit [Client Quit]
lactose has joined #river
br0qn has joined #river
Keeto has joined #river
lactose has quit [Quit: honk shoo mimimi]
Keeto has quit [Quit: Lost terminal]
user21 has quit [Ping timeout: 246 seconds]
<leon-p> kztx: you want your laptop output to automatically decatice when you connect it to your external screen. you don't need mirroring because all windows will be moved to that output anyway, if it's the only one. kanshi can automatically turn off outputs, but from your last message it sounds like you have already found out how to use it
<leon-p> *deactivate
<leon-p> massive typo
<kztx> Yeah thanks I noticed that once I tried it out. I am very happy.
user21 has joined #river
andyrtr_ has joined #river
andyrtr has quit [Ping timeout: 252 seconds]
andyrtr_ is now known as andyrtr
Keeto has joined #river
Keeto has quit [Remote host closed the connection]
Keeto has joined #river
Keeto has quit [Remote host closed the connection]
Keeto has joined #river
Keeto has quit [Client Quit]
Keeto has joined #river
Keeto has quit [Remote host closed the connection]
Keeto has joined #river
Keeto has quit [Remote host closed the connection]
Keeto has joined #river
Keeto has quit [Remote host closed the connection]
Keeto has joined #river
waleee has joined #river
Keeto has quit [Quit: Lost terminal]
Keeto has joined #river
<br0qn> kztx: did you figure out the kanshi config? i've not been able to get it to disable my laptop screen when docked.
caw is now known as cow
<kztx> Yeah I followed this https://haseebmajid.dev/posts/2023-07-25-nixos-kanshi-and-hyprland/ but replaced the systemdTarget to river-session.target which I already had
<kztx> The status = "disable" is the key so you have two profiles, one with only eDP-1 (laptop) and the second profile has multiple outputs in my case just eDP-1 to disable and my external monitor
<kztx> You can use wlr-randr to find the output name, whether you use something like DP-3 or BRAND MODEL SERIAL both should work
Guest58 has joined #river
<br0qn> kztx: thanks i'll take a look at that. hm. i'm on void without systemD
Guest58 has quit [Quit: Client closed]
Keeto has quit [Remote host closed the connection]
Keeto has joined #river
<kztx> All it seems to do is make sure it starts after River
<kztx> The Kanshi service that is
Keeto has quit [Remote host closed the connection]
Asdf has joined #river
Asdf has left #river [#river]
schneid3306 has quit [Quit: schneid3306]
br0qn has quit [Remote host closed the connection]
br0qn has joined #river
flower_ has quit [Quit: Lost terminal]
schneid3306 has joined #river
schneid3306 has quit [Quit: schneid3306]
schneid3306 has joined #river