haliucinas has quit [Quit: Ping timeout (120 seconds)]
haliucinas has joined #river
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #river
waleee has quit [Ping timeout: 260 seconds]
jao has quit [Ping timeout: 240 seconds]
rick42 has quit [Ping timeout: 246 seconds]
elshize1 has quit [Ping timeout: 252 seconds]
eShaev9z_ has joined #river
eShaev9z has quit [Ping timeout: 260 seconds]
NickH has quit [Remote host closed the connection]
NickH has joined #river
notzmv has joined #river
rick42 has joined #river
haliucinas has quit [Quit: .]
haliucinas has joined #river
<leon-p>
ifreund: not sure if you already known,, but on master there is a bug wrt to resizing floating views with keybinds. The origin of the view is updated to keep its perceived position the same, but this is based on the expected new size, not the actual real new size of the view. easiely reproduced with mpv
<plumeus>
how do I use `riverctl rule-add tag`? I did something like `riverctl rule-add tag -title "firefox" $((1 << 2))` with the intent to get Firefox to spawn at tag 2 (or maybe this would cause it to spawn at tag 3) but it doesn't seem to work
<plumeus>
err, I tried -app-id first. But neither seem to work and I don't know where to check docs on what an App ID even is
<plumeus>
Actually, nvm, it worked. It seems like `<< 2` sends to tag 3 properly and `lswt` does tell me the App ID properly.
<plumeus>
yep, everything works perfectly, thanks for the new feature, I love it
kdk has quit [Server closed connection]
kdk has joined #river
Ordoviz has joined #river
jao has joined #river
leopoldek has joined #river
Axenntio has quit [Quit: Axenntio]
JustineSmithies has joined #river
<JustineSmithies>
I know we don't have app_id matching rules just yet but how can I using say riverctl execute these in one ? PS Excuse it as this came from an old sway config of mine but I'd like to do similar iff poss with River. for_window [app_id="mpv"] floating enable, resize set width 640 height 360, move position 1200 650, focus
<JustineSmithies>
Can I execute multiple commands on one line using say riverctl spawn 'blah blah' ?
<plumeus>
can't you do 'blah; blah'?
<plumeus>
or 'blah && blah', although that's not quite the same
alexherbo2 has joined #river
<JustineSmithies>
Yeah just playing with riverctl just now with resize and ; is the better option I think
<leon-p>
nice, wayland-protocols release!
<JustineSmithies>
In man riverctl it says "resize horizontal|vertical delta Resize the focused view along the given axis by delta logical pixels. The view will be set to floating." To me it seems to just resize the window from what it was. Is there no way of setting an actual size X & Y ?
<JustineSmithies>
The same for "move up|down|left|right delta Move the focused view in the specified direction by delta logical pixels. The view will be set to floating." Could there not be an actual value to move it to ?
Ordoviz has quit [Quit: WeeChat 4.0.0]
alexherbo2 has quit [Remote host closed the connection]
rick42 has joined #river
<rick42>
I wonder how useful this would be for bash-based configs: `tag () { echo $(( 1 << $(( $1 - 1)) )); }`
alexherbo2 has joined #river
<rick42>
oh wow, arithmetic expressions are in POSIX. I didn't know that. s/bash/posix-shell/
<RZ_MJ[m]>
JustineSmithies: I only know of a workaround for exact positioning: snapping it to the edge and moving it from there.
<leon-p>
there was a PR for direct positioning, I think it died down though
<JustineSmithies>
RZ_MJ[m]: Thanks yeah it's a possible workaround for now.
<JustineSmithies>
Would be a nice feature direct positioning for both resize and move.
<JustineSmithies>
That's exactly what I'm looking for and possibly others are too.
alexherbo2 has quit [Remote host closed the connection]
<leon-p>
before anyone plans on resurrection that PR, I'd recommend waiting for ifreund to finish the work he is doing on resizing / the transaction system