<sokan>
hey! I'm using bspwm for quite some time and consider giving wayland a go, for security reasons. I read that river is bspwm inspired, so the question is, how easy or hard will the migration and getting accustomed to river be? I expect differnces but it'd be nice to know what to expect :)
elshize has joined #river
elshize1 has joined #river
waleee has quit [Ping timeout: 240 seconds]
<NickH>
sokan: I'm not sure if there are any former bspwm users here.
<NickH>
I suggest just reading the wiki and giving it a try. If you have questions, check the man pages and/or ask here.
leopoldek has joined #river
jao has quit [Ping timeout: 240 seconds]
eShaev9z has joined #river
eShaev9z_ has quit [Ping timeout: 240 seconds]
elshize1 has quit [Ping timeout: 264 seconds]
elshize has quit [Ping timeout: 264 seconds]
haliucinas has quit [Quit: .]
haliucinas has joined #river
<RZ_MJ[m]>
leon-p: Tag implementation will get moved to layout generators? That is an awesome info. I once considered making my own window manager (and decided I'm way to dumb for it). I was thinking through how I would make a workspace/tag system too. I too thought about string tags. My idea was that if the output string and the window string would match or one of them was a substring of the other (either way) the window would be shown. If none was a
<RZ_MJ[m]>
substring of the other, it would be hidden.
<RZ_MJ[m]>
The consequences would be a) windows could be made sticky by having an empty string b) combining tags would mean concatenating them c) a window with the combined tag 'Project1Project2' (11000 in binary tags) would not show up on the combined output tag 'Project2Randomstuff' (01001 in binary tags), which I consider to be a good thing since it avoids crammed layouts in complexely tagged situations.
Guest2 has joined #river
Guest2 has quit [Quit: Client closed]
linkert has joined #river
linkert has quit [Ping timeout: 245 seconds]
tiosgz has joined #river
<tiosgz>
leon-p: can you update shell completions in #852?
tiosgz has quit [Quit: tiosgz]
<ifreund>
RZ_MJ[m]: yep, moving the implementation of tags out of the compositor process is a long term goal
<ifreund>
there are still some unanswered questions to solve though, for example how bars should work
<ifreund>
I'll probably start exploring in that direction after the 0.3.0 release
<RZ_MJ[m]>
My uneducated guess is the layout generator would not just give river a list of window positions, but also a list of information units to pass on to the bar. Those information units could be tags (each with a name, focus boolean, etc.), could be the current layout name, things like that. (Maybe this is obvious: I barely know anything about zig or wayland protocols).
<ifreund>
RZ_MJ[m]: that kind of approach is what the proposed ext-workspace protocol does. I personally think it introduces too much accidental complexity trying (and probably failing) to abstract over all possible window management approaches
<ifreund>
The simplest approach technically would be to either put the bar inside the layout generator/window mananger or have the layout generator/window mananger communicate with existing status bars directly over some kind of custom protocol
sokan has left #river [WeeChat 3.8]
elshize has joined #river
elshize1 has joined #river
leopoldek has quit [Ping timeout: 260 seconds]
jao has joined #river
waleee has joined #river
aryak has quit [Ping timeout: 258 seconds]
aryak_ has quit [Ping timeout: 250 seconds]
aryak has joined #river
aryak_ has joined #river
elshize1 has quit [Ping timeout: 240 seconds]
elshize has quit [Ping timeout: 240 seconds]
haliucinas0 has joined #river
waleee has quit [Ping timeout: 240 seconds]
haliucinas has quit [Ping timeout: 250 seconds]
haliucinas0 is now known as haliucinas
<leon-p>
Just added the completions
<leon-p>
made me think that perhaps we should update how we do shell completions
<leon-p>
some modern CLI tools do their own completion using a non-documented `complete` command
<leon-p>
maybe that would be more maintainable for us as well
<ifreund>
I don't have very strong opinions about how the completions should work. I worry that a more complex system to make keeping them up to date/in sync easier might be more trouble than it's worth at this stage
<ifreund>
I'd be happy for someone to find a good solution there though and explain to me how much better it is :)
<leon-p>
well, frotunately completion is only annoying when we add a new command, so maybe every other month :D
<ifreund>
yeah, I quite like how little I have to think about completion when not adding new commands
alebastr has quit [Ping timeout: 250 seconds]
alebastr has joined #river
haliucinas4 has joined #river
haliucinas has quit [Ping timeout: 250 seconds]
haliucinas4 is now known as haliucinas
leopoldek has joined #river
JustineSmithies has joined #river
<leon-p>
then I better propose the unique ID related commands carefully...
JustineSmithies has quit [Quit: WeeChat 4.0.0]
JustineSmithies has joined #river
midgard has quit [Ping timeout: 250 seconds]
midgard has joined #river
waleee has joined #river
JustineSmithies has quit [Quit: WeeChat 4.0.0]
JustineSmithies has joined #river
waleee has quit [Ping timeout: 260 seconds]
kyby64 has joined #river
andyrtr has quit [Ping timeout: 260 seconds]
<kyby64>
Hi.I want to map KP_1(KP_END),KP_2(KP_DOWN),... in river
<kyby64>
KP_1 and KP_2 work as intended
<kyby64>
riverctl map normal Super KP_1 set-focused-tags 1
<kyby64>
riverctl map normal Super KP_2 set-focused-tags 2
<kyby64>
but KP_3 and others act weird.for example this map just show tags1 and tags2 together
<kyby64>
riverctl map normal Super KP_3 set-focused-tags 3
<kyby64>
and this shows tags1 and tags3 together
<kyby64>
sorry I don't know how to explain that correctly just imagine it show this two *workspaces* together
<kyby64>
riverctl map normal Super KP_5 set-focused-tags 5
<kyby64>
and yes I know there is no workspace in river
<kyby64>
is there anyway to map KP_3 and other keypad keys? or something is wrong with my setup?
<leon-p>
the integer 3 equals the binary 000011, which are the tags bound to super+1 and super+2 in the default config
<leon-p>
the tag bound to super+3 would be 000100, which is 4
taupiqueur has joined #river
<kyby64>
so how I can tell river to just show the windows in tag 3.sorry I'm just trying to understand the concept of tags.I'm familiar with workspaces
<leon-p>
by converting the binary representation to integer
<leon-p>
take a look at the default config, it makes use of bitshift to make this more ergonomic