ifreund changed the topic of #river to: river - a dynamic tiling wayland compositor || https://github.com/riverwm/river || channel logs: https://libera.irclog.whitequark.org/river/
cabal704 has quit [Quit: WeeChat 3.3]
snakedye has quit [Ping timeout: 252 seconds]
snakedye has joined #river
snakedye has quit [Ping timeout: 240 seconds]
snakedye has joined #river
waleee has quit [Ping timeout: 240 seconds]
<NickH> vipulogmx: I made a public repo with river for bullseye. I *think* I included all the required dependencies. I'd be interested to see if it works for you.
<NickH> All my bullseye machines have a bunch of additonal backported packages so there is a chance one or more of the depedencies is missing. So if you have problems let me know and I'll try to fix them.
snakedye has quit [Ping timeout: 256 seconds]
<NickH> I also have up to date packages for things like fuzzel and waybar if you're interested.
<NickH> I just checked it on a clean bullseye install on a vm. Seems to work.
l4s8g_ has joined #river
l4s8g___ has joined #river
l4s8g_ has quit [Ping timeout: 240 seconds]
l4s8g has joined #river
l4s8g___ has quit [Ping timeout: 240 seconds]
l4s8g has quit [Read error: Connection reset by peer]
l4s8g has joined #river
snakedye has joined #river
scrollmaster has quit [Quit: disconnecting]
scrollmaster has joined #river
scrollmaster has quit [Ping timeout: 240 seconds]
snakedye_real has joined #river
l4s8g has quit [Ping timeout: 268 seconds]
l4s8g___ has joined #river
l4s8g___ has quit [Quit: l4s8g___]
snakedye_real has quit [Quit: snakedye_real]
snakedye_real has joined #river
snakedye_real has quit [Quit: snakedye_real]
snakedye_real has joined #river
snakedye_real has quit [Quit: snakedye_real]
notzmv has quit [Ping timeout: 268 seconds]
cabal704 has joined #river
waleee has joined #river
waleee has quit [Ping timeout: 252 seconds]
Guest9147 has joined #river
<Guest9147> Hi, just wanted ask if river init file can be split into multiple files
<Guest9147> I tried using riverctl spawn "/path/to/other_file.sh" but it does not pick it up.
waleee has joined #river
<tiosgz`> is the file executable? also, you can just do `/path/to/other_file.sh` if it doesn't do something like `exec` that would "block" it
<tiosgz`> (without the ``)
<Guest9147> It is executable yes
<tiosgz`> can you run it in a terminal w/o errors?
<Guest9147> I just uh want to split up the config into parts - launchers in a separate file, keyboard and mice configuration in its own file, and layout etc. in its own file
<novakane> just use `source /path/to/file`
<novakane> that should do it
<Guest9147> Well it was a simple file with only one line `riverctl map normal Super w close`
<tiosgz`> without a #! ? (`source` should work w/o it though, yea)
<Guest9147> I'll try that, just a minute
l4s8g has joined #river
Guest9147 has quit [Ping timeout: 256 seconds]
waleee has quit [Ping timeout: 252 seconds]
cabal704 has quit [Quit: WeeChat 3.3]
notzmv has joined #river
waleee has joined #river
<edrex[m]> Does River run nested under X11 similar to how it runs nested under wayland? Someone is reporting that happening on another channel, and I don't have X stuff.
<tiosgz`> yes, it should
l4s8g has quit [Remote host closed the connection]
<ifreund> assuming wlroots was build with the X11 backend enabled, yes
scrollmaster has joined #river
l4s8g_ has joined #river
<edrex[m]> thx
l4s8g_ has quit [Quit: l4s8g_]
<edrex[m]> Open to a patch to add a wayland-sessions .desktop file ala https://github.com/swaywm/sway/blob/master/sway.desktop?
<edrex[m]> oh there is one, it's just in contrib
<edrex[m]> sway's meson.build puts it in the right spot, otherwise packagers have to. Open to a patch to have the build put it in the right spot?
<ifreund> edrex[m]: nope, no offical support for desktop files as it's not standardized
<ifreund> well, not standardize for use in this way I mean
<edrex[m]> k, figured. Y'all purists in here :P
<edrex[m]> probably going to patch the nixpkgs river to copy it
scrollmaster has quit [Quit: disconnecting]
scrollmaster has joined #river
<ifreund> edrex[m]: yeah I'm not opposed to distros including it in their packaging
<ifreund> I just don't think GDM deciding to use desktop files in this way means that every one should try and support it
<ifreund> starting river is officially as simple as running the river command, I don't see why it needs to be more complex than that
<edrex[m]> they're just a registration mechanism for "shelley" runnables, so users don't have to hand-configure whatever they use to start sessions.
<edrex[m]> could be a lot simpler.
<leon-p> pretty sure it's about discoverability. It allows the DM to know which desktops are available without needing a hardcoded list, so it can have a nice "choose your desktop" menu.
<edrex[m]> ⬆
<edrex[m]> wow that arrow came out big
<leon-p> Too me it makes sense to re-use them for this use case, as it's pretty much the same as when they are used for GUI programs
<leon-p> and for icons too because we don't have fat binaries, although that is less important for desktops.
<leon-p> I guess you could also have a directory with symlinks to binaries, but that would mean no description in the menu, because no fat binaries
<ifreund> I guess that does make sense, still would like to see it actually standardized though
<ifreund> I'm pretty sure a ton of what's allowed by the .desktop spec makes no sense in this context as well
<leon-p> probably. But it's to be expected, considering the possibility of bad input / config is ignored elsewhere in the gnome stack as well. I mean, you can make gnome shell and GDM literally crash by manually setting bad values in gsettings or with a faulty icon theme.
<edrex[m]> Practically, it would remove a gotcha for packaging. It would be good if there were an alternative mechanism. any thoughts on that kennylevinsen?
<kennylevinsen> idk. In gtkgreet there just 1 file, each line is a command line that will be an option in the drop down - which can also be edited if you want to do something different. Only thing I hear people complain about is lacking "alias" so they can use arbitrary names.
<edrex[m]> Amusingly, since NixOS doesn't follow FHS, the user still has to manually add the package to the list of sessionPackages for display managers
<edrex[m]> ¯\_(ツ)_/¯
<kennylevinsen> greetd itself only cares about the final command line, and the greeter policy has so far been "whatever works for your users to get that command line". Something slightly unified wouldn't hurt, but I feel like it would devolve into people wanting it to support specifying alternate languages, icon types that are everything from BMP to MPV, environment info, and whatnot...
<edrex[m]> oh, seatd itself doesn't know about sessions, that's on the greeters?
<kennylevinsen> *greetd I assume but yeah
<edrex[m]> oops yes
<edrex[m]> they rhythm and it confuses me!
<kennylevinsen> greetd is sent a username and a command you want to run, and then asks whatever questions are needed for authentication. The command could be anything at all. A graphical shell, a textual shell, even just a one-off command. greetd doesn't know and doesn't care.
<kennylevinsen> It just stuffs it into /bin/sh -c and calls it a day
<kennylevinsen> man 7 greetd-ipc or https://docs.rs/greetd_ipc/latest/greetd_ipc/enum.Request.html for more info on what the greetd API looks like
ecocode__ has quit [Ping timeout: 252 seconds]
ecocode__ has joined #river
edrex[m] has quit [Ping timeout: 252 seconds]
ahmadraniri1994[ has quit [Ping timeout: 252 seconds]
nani8ot[m] has quit [Ping timeout: 252 seconds]
edrex[m] has joined #river