ifreund changed the topic of #river to: river - a dynamic tiling wayland compositor || https://github.com/ifreund/river || channel logs: https://libera.irclog.whitequark.org/river/
waleee has quit [Ping timeout: 246 seconds]
waleee has joined #river
snakedye has quit [Ping timeout: 252 seconds]
snakedye has joined #river
ext0l has joined #river
snakedye has quit [Ping timeout: 252 seconds]
waleee has quit [Ping timeout: 268 seconds]
ext0l has quit [Ping timeout: 245 seconds]
ext0l has joined #river
snakedye has joined #river
notzmv has quit [Ping timeout: 240 seconds]
occivink has quit [Ping timeout: 252 seconds]
occivink has joined #river
leon-p has joined #river
novakane has joined #river
snakedye has quit [Ping timeout: 250 seconds]
ext0l has quit [Ping timeout: 268 seconds]
notzmv has joined #river
snakedye has joined #river
ralphptorres has joined #river
ralphptorres has quit [Quit: WeeChat 3.3]
snakedye has quit [Ping timeout: 252 seconds]
snakedye has joined #river
novakane has quit [Read error: Connection reset by peer]
dimaom has joined #river
snakedye has quit [Ping timeout: 250 seconds]
snakedye has joined #river
snakedye has quit [Ping timeout: 264 seconds]
snakedye has joined #river
waleee has joined #river
novakane has joined #river
<msiedlaczekelsh4> hey, is it possible to somehow use lswt with bemenu/wofi to go to a specific window? that is search for a window, select it, and, say, toggle its tag and make it active? (I mean if it's possible with existing tools)
<ifreund> msiedlaczekelsh4: I believe lswt only allows printing information about toplevels not activating them currently.
<ifreund> the only CLI foreign toplevel management client I'm aware of that allows activation is the wlroots example client
<msiedlaczekelsh4> ifreund: thanks, I'll give it a look
<leon-p> msiedlaczekelsh4: the problem with that `lswt | menu | progra-to-focus-window` pipeline is that there is no way to identify unique windows across wayland connections. You need to stay on a single connection, otherwise the window switcher will completely break if two or more windows share app-id and title.
<leon-p> until there are unique identifiers for windows, you can basically forget any pipeline based approach
<ifreund> well, you can use object ids and just ignore the race condition :P
snakedye has quit [Ping timeout: 246 seconds]
snakedye has joined #river
<msiedlaczekelsh4> leon-p: I understand; out of curiosity, are these unique ids coming or not likely?
<msiedlaczekelsh4> also is that something lacking in wayland or river?
<novakane> msiedlaczekelsh4: there is an open issue for this so maybe https://github.com/ifreund/river/issues/428
<novakane> what if with the foreign toplevel protocol you make like an array with each app-id corresponding to the array index and you would focus the index, would that works for app with same app-id?
<leon-p> novakane: it would break as soon as windows were destroyed and new ones added
<leon-p> msiedlaczekelsh4: Wayland has no concept of "windows" at all, so the fault, if you want to call it one, lies either with the xdg-shell or the foreign toplevel protocol. But TBH I am not blaming anyone for not thinking about this use case.
<novakane> leon-p: it wouldn't be ideal but you could update the array each time a view map/unmap no?
<leon-p> novakane: but then old indexes get stale.
<leon-p> you need to guarantee that an index always points to a specific window and does not get re-used. And at that point you have unique IDs
<novakane> ah right
<msiedlaczekelsh4> thanks, obviously not looking to blame anyone, just trying to understand a little better ;)
leon-p_ has joined #river
leon-p has quit [Ping timeout: 252 seconds]
leon-p_ is now known as leon-p
snakedye has quit [Read error: Connection reset by peer]
snakedye has joined #river
dimaom has quit [Ping timeout: 252 seconds]
Guest55 has joined #river
Guest55 has quit [Client Quit]
guest23_ has joined #river
dimaom has joined #river
yyp has quit [Ping timeout: 250 seconds]
yyp has joined #river
<ecocode__> How does sway solve this?
<msiedlaczekelsh4> do they solve it? can you do that in sway?
<leon-p> sway implements i3 IPC protocol, which AFAIK has a unique ID for each window
<leon-p> ecocode__ msiedlaczekelsh4 ^
<ecocode__> swayr: An urgent-first/LRU window switcher for sway (https://sr.ht/~tsdh/swayr/)
<msiedlaczekelsh4> interesting. this was more or less what I was thinking of. I'm not sure if I would be using it much, but sometimes I know I opened some app somewhere, and would like to locate it quickly, and this would be nice to have. but for the most part I know which tags are used for what, so it's not that useful
<msiedlaczekelsh4> do any of you have a rough idea of how large sway community is relative to river? I imagine more people are working on that (not to mention it's been developed longer)
<leon-p> a window switcher menu for river is not impossible, you just need to keep it all to a single wayland conncetion, meaning all in a single program
<msiedlaczekelsh4> leon-p: right; I'd hack a quick bash script for that if it were possible, but I'm not motivated enough to learn wayland currently ;) sounds like a cool educational project, so maybe will look into it once have more spare time
<leon-p> msiedlaczekelsh4: well, pretty sure bash can connect to sockets, so... :P
<msiedlaczekelsh4> touche
<msiedlaczekelsh4> though it would be anything but quick hack I'm afraid :)
guest23_ has quit [Quit: Connection closed for inactivity]
leon-p has quit [Remote host closed the connection]
tdeo has quit [Remote host closed the connection]
novakane has quit [Read error: Connection reset by peer]
snakedye has quit [Read error: Connection reset by peer]
snakedye has joined #river
dimaom has quit [Remote host closed the connection]
dimaom has joined #river
dimaom_ has joined #river
dimaom_ has quit [Remote host closed the connection]
dimaom has quit [Ping timeout: 268 seconds]
snakedye has quit [Read error: Connection reset by peer]
snakedye has joined #river
notzmv has quit [Ping timeout: 252 seconds]
snakedye has quit [Read error: Connection reset by peer]
snakedye has joined #river