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/
<plumeus> leon-p is German? I figured ifreund is from his name too (or at least his family might have been from there).
waleee has quit [Ping timeout: 268 seconds]
<plumeus> also, time for the classic "you took a photo because screenshots don't work on Wayland" joke
elshize has quit [Ping timeout: 268 seconds]
elshize has joined #river
eShaev9z has joined #river
eShaev9z_ has quit [Ping timeout: 268 seconds]
snakedye has quit [Ping timeout: 250 seconds]
elshize has quit [Ping timeout: 265 seconds]
jao has quit [Ping timeout: 252 seconds]
fitrh has joined #river
Ordoviz has joined #river
fitrh has quit [Quit: fitrh]
chismoso has joined #river
chismoso has quit [Client Quit]
hochata has quit [Ping timeout: 268 seconds]
<leon-p> the joke would actually be "I took a photo because I forgot to enable xwayland and therefore can't crop the screenshot in gimp"
<leon-p> Nulo: not a toolkit, just pixman + fcft
Ordoviz has quit [Ping timeout: 265 seconds]
ayushnix has quit [Remote host closed the connection]
Ordoviz has joined #river
ayushnix has joined #river
<ifreund> plumeus: I happen to be an american with a german last name who currently lives in germany :D
<plumeus> I happen to be an American and a Japanese who wants to try living in Germany but is somehow in Japan.
Guest41 has joined #river
<Guest41> Hello.
<Guest41> Does anyone know what the issue "ConnectFailed" means?
Guest41 has quit [Ping timeout: 252 seconds]
jao has joined #river
elshize has joined #river
cabal704 has joined #river
cabal704 has quit [Ping timeout: 244 seconds]
cabal704 has joined #river
cabal704 has quit [Ping timeout: 244 seconds]
cabal704 has joined #river
elshize has quit [Ping timeout: 265 seconds]
cabal704 has quit [Quit: WeeChat 3.5]
hochata has joined #river
ecocode` has joined #river
<ecocode`> hi. does river allow to have a per-input configuration ? I happen to have a different keyboard @work and @home, so I need a different config ..
ecocode[m] has joined #river
ecocode` has quit [Quit: ERC 5.4.1 (IRC client for GNU Emacs 29.0.50)]
<ecocode[m]> hi
<plumeus> hi
<plumeus> One bad fix around your problem could be to just make a script that checks which keyboard is plugged in and loads a script that resets the keybinding... It's a bad solution but I just don't know any better. Hopefully someone else can provide better insight.
<ecocode[m]> hmmm. what command can I use to change the keyboard layout ?
<ecocode[m]> and the options
<plumeus> by "a different config", do you just want to rework your keybinds or something?
<plumeus> Since you can set or unset all river configs on-the-fly, you can likely just set/unset the relevant configs by running some shell script
<ecocode[m]> nope, I need to change XKB_LAYOUT and XKB_OPTIONS
<plumeus> oh, okay
<ecocode[m]> but those are environment variables.
<plumeus> I wonder how the keyboard layout is set in River.
LemanR has joined #river
<LemanR> hey all, anyone have an issue where river will run but it's init is 'not found' in the location where init actually is and is executable
<LemanR> I get "error: failed to run init executable ~/.config/river/init" the init is in that location and is executable.
<ecocode[m]> LemanR: nope
<ecocode[m]> Weird
<plumeus> never had that issue
<ecocode[m]> plumeus: exactly
<LemanR> it was working like 5 min ago, did a reboot. I'm pretty sure user is also the owner to the file
<ecocode[m]> Are you sure you didn't change the filename?
<LemanR> I could rename it to init just incase there is something weird. Last edit I made to it was through Emacs
<LemanR> but currently it's name is init as far as I can see
<plumeus> I was more worried about the file permissions but that's also been ruled out
<LemanR> for more details , running ls -l yields " -rwxr-xr-x "
<plumeus> and group/user matches, I presume
<LemanR> I'm assuming, on that command the output continued with, '1 ryanlGentoo ryanlGentoo 2946' the date and init
<ifreund> LemanR: what happens when you run `~/.config/river/init` in a shell?
<LemanR> lol was it supposed to launch cause it didn't lol let me wgetpaste this but i think this shows what's going on
<ifreund> that just means you're running riverctl outside of river
<ifreund> do you have $XDG_CONFIG_HOME set? what exactly does river log on startup?
<LemanR> that variable is set to ~/.config and not sure of a good way to show the startup messages. Can't seem to wgetpaste it
<LemanR> ifreund you'll love this , river -c ./.config/river/init works as expected so river 'thinks' ~ is somewhere else?
<novakane> `river -log-level debug >river.log 2>&1`
<ifreund> LemanR: it sounds like either $XDG_CONFIG_HOME or $HOME is something you don't expect
<LemanR> both of these variables look good. home is /home/ryanlGentoo XDG_CONFIG_HOME is ~/.config
<ifreund> LemanR: ah I think I see the problem, you shouldn't set XDG_CONFIG_HOME to "~/.config" but rather "$HOME/.config" or just the absolute path
<ifreund> your shell isn't expanding ~ before storing the path in the variable
<ifreund> and ~ is only a thing in the shell, not in how the kernel sees paths
<ifreund> It kinda sucks that unix is so footgunny
hochata has quit [Ping timeout: 268 seconds]
<LemanR> Gentoo uses /etc/environment , i set the variable to $HOME/.config but no luck.
<LemanR> now errer says "error: failed to run init executable $HOME/.config/river/init: FileNotFound"
<ecocode[m]> LemanR: try with the full path, don't use $HOME or ~
<LemanR> now that error has the absolute path bun still says it can't find it
<ecocode[m]> weird...
<LemanR> ill put the example init in my init's place and see what happens
<LemanR> wait i see....a TYPO 0.0
<LemanR> ....it was the typo. my username is ryanlGentoo but the home directory is ryanl-Gentoo
<ecocode[m]> working now ?
<LemanR> with the absolute path, not sure why it failing is recent though and setting absolute path makes it so multiple users can't have separate inits (not a need as I'm the only user)
<LemanR> so big brain move here, took out the config variable entirely. $HOME/.config is default so I figured it would work and should allow me to have multiple inits if i want
<LemanR> thanks for the help. Btw if someone else needs help similar to this but they need to set xdg_config_home and have multiple users there is a pam directory they can apparently assign the variable that will expand. Later all
<ifreund> or you can just set it in your ~/.profile or whatever
<ecocode[m]> is there a reason river handles keyboard configs differently than sway ? with sway I am able to configure each keyboard I have differently, and I cannot find a way to handle this with river
<ifreund> ecocode[m]: it's not implemented yet
<ifreund> right now we just rely on libxkbcommon's built-in configuration as a "good enough" solution in 99% of cases
<ecocode[m]> ifreund: oh, ok. thanks for the info. is this feature already planned ? or should I try to find a workaround ?
<leon-p> FWIW configuring the layout per-keyboard is a bit of a hack
snakedye has joined #river
LemanR has quit [Ping timeout: 252 seconds]
<ifreund> v,c.x/z
snakedye has quit [Ping timeout: 260 seconds]
<ecocode[m]> 🤔 r,b.t/w ?
snakedye has joined #river
Ordoviz has quit [Quit: WeeChat 3.6]
<leon-p> those are 5D chess moves, obviously
Ordoviz has joined #river
Ordoviz has quit [Client Quit]
Ordoviz has joined #river
Ordoviz has quit [Client Quit]
<ifreund> definitely not me just mashing my keyboard to wake up the display and happening to have IRC focused xD
ayushnix has quit [Remote host closed the connection]
ayushnix has joined #river
ayushnix has quit [Changing host]
ayushnix has joined #river
waleee has joined #river
waleee has quit [Ping timeout: 260 seconds]
ayushnix has quit [Remote host closed the connection]
ayushnix has joined #river
waleee has joined #river
dbuckley has quit [Ping timeout: 244 seconds]
ayushnix has quit [Remote host closed the connection]
ayushnix has joined #river
waleee has quit [Ping timeout: 244 seconds]
hochata has joined #river
waleee has joined #river
waleee has quit [Read error: Connection reset by peer]
waleee has joined #river
ayushnix has quit [Remote host closed the connection]
snakedye has quit [Read error: Connection reset by peer]
snakedye has joined #river
snakedye has quit [Ping timeout: 265 seconds]
snakedye has joined #river
<leon-p> dnkl: in fcft, is it possible that elements of text_run.glyphs (created by fcft_rasterize_text_run_utf()) can be NULL?
cabal704 has joined #river
cabal704 has quit [Ping timeout: 268 seconds]
cabal704 has joined #river
elshize has joined #river
snakedye has quit [Ping timeout: 244 seconds]
snakedye has joined #river
dbuckley has joined #river
waleee has quit [Ping timeout: 265 seconds]
waleee has joined #river