<leon-p>
i'll join the river book club with a recommendation of my own: recently read The Invincible by Stanislaw Lem. interesting premise and written well enough that one can finish it in one or two sittings
<waleee>
I "accidentially" read a short overview of the history of pig husbandry in one short sitting while in the local library
<waleee>
(were waiting for an hour or so and it had an intresting elaboration on why the pig became "haram" in first judaism and subsequently islam)
<waleee>
tldr the pig was holy in an earlier religious cult and the first worshippers of yaweh went "postal" when surpressing that cult
<waleee>
hm or was it even earlier in an egyptian cult that was supressed by the worshippers of another egyptian deity (which was later picked up by the jews)
waleee has quit [Ping timeout: 264 seconds]
kztx has joined #river
eShaev9z_ has joined #river
eShaev9z has quit [Ping timeout: 240 seconds]
<kztx>
I have Super 1 through 8 bound to set-focused-tags for tags 1 through 8, I think this is in the example config.
<kztx>
The waybar river module only allows me to configure "num-tags", so 8 would display tags 1 through 8.
<kztx>
I want to implement hotkeys that will effectively enable 4 workspaces from these 8 tags.
<kztx>
That is, Super 1 through 8 will always operate on tags 1 through 8, but I need to be able to left/right shift rotate all views. For example, move the views on tags 1-8 to 25-32, 25-32 to 17-24, and 9-16 to 1-8.
<kztx>
Any idea how I would go about this? I think I need to iterate all views and shift their tags.
<kztx>
I think if I could figure that out, it should at least be easy to swap for purpose of two "workspaces" 1-8 and 9-16 operating off of tags 1-8 to satisfy my apparent waybar constraint.
<leon-p>
kztx: unfortunately, only the currently focused view can be operated upon
<leon-p>
you can't set the tags of non-focused views and certainly not that of views that are not visible
<leon-p>
so you'll need to implement this differently:
<leon-p>
instead of moving views to different tags, you can wrap `riverctl set-focused-tags` in a script, which converts 1-8 to 25-32, etc., based on a value you store somewhere
<leon-p>
for example a file
<kztx>
Cool! I'll give that a shot. Thanks
daurnimator has quit [Quit: WeeChat 3.4.1]
kztx has quit [Quit: kztx]
hill has joined #river
kztx has joined #river
hill has quit [Quit: Lost terminal]
tiosgz has joined #river
<tiosgz>
leon-p: > the black box is supposed to be the cursor
<tiosgz>
what black box? there's u+258f or something from that block if you don't mind
<tiosgz>
btw were you still up, or already up? (or should i rather not ask)
<tiosgz>
kztx: waybar also has a `num-tags` setting if that's of any help
<tiosgz>
oops, reread now and i see you know that already
tiosgz has quit [Quit: tiosgz]
Szadek1598 has quit [Ping timeout: 264 seconds]
<leon-p>
tiosgz: I could not use the unicode block characters to represent the cursor, since the cursor needs to be on some characters. So it's just a <span> </span> with the fg and bg colours swapped
<leon-p>
if it doesn't show up, then you are probably using a weird browser
tiosgz has joined #river
<tiosgz>
oh, now this morning is really not my favorite. i need more sleep. leon-p it's okay, i just had an old cached style.css and wondered what a weird taste for design you've got :D
<leon-p>
also I am still up. my sleep cycle got massively messed up by a uni project recently :)
<leon-p>
well, arguably I do have a weird taste in design
<tiosgz>
gah. i don't understand how it's possible you're still alive. i'm already dead even with ~7h of sleep
<leon-p>
I am unfortunately used to it
<tiosgz>
but... try to look at your site with the old css. i don't think that's what you'd like
<leon-p>
I have basically fallen into a 10h sleep 20h awake cycle and it's kinda hard to get back to something healthy
<tiosgz>
but through my almost closed eyes i've seen some interesting readline options, yay :) thanks for that thing
<leon-p>
yeah it's surprising how many things one can change
<leon-p>
just has the disadvantage that bash on a system without my inputrc feels basically unusable now :D
ayushnix has joined #river
tiosgz has quit [Quit: tiosgz]
leopoldek has quit [Remote host closed the connection]
notzmv has quit [Ping timeout: 264 seconds]
traidare has joined #river
hryx has quit [Ping timeout: 264 seconds]
hryx has joined #river
Guest87 has joined #river
TheAnachron has joined #river
notzmv has joined #river
traidare has quit [Ping timeout: 260 seconds]
Guest87 has quit [Quit: Client closed]
traidare has joined #river
ThePenguin has quit [Ping timeout: 255 seconds]
ThePenguin has joined #river
kztx has quit [Remote host closed the connection]
traidare has quit [Ping timeout: 255 seconds]
kztx has joined #river
<kztx>
I realized that while I can wrap set-focused-tags to map Super 1-8 to 9-16 given external state, waybar will still only display tags 1 through 8 if I set num-tags to 8. That's why I originally went down that thought trail of rotate shifting.
TheAnachron has quit [Quit: TheAnachron]
waleee has joined #river
uncomfy has joined #river
waleee has quit [Ping timeout: 264 seconds]
traidare has joined #river
traidare has quit [Ping timeout: 240 seconds]
uncomfy has quit [Remote host closed the connection]
IchikaZou has joined #river
IchikaZou has quit [Remote host closed the connection]
Guest87 has joined #river
leopoldek has joined #river
tiosgz has joined #river
<tiosgz>
re #871 (output rule), i'd really want the unobvious "Unknown" to be mentioned (and as already said, wlr-randr), possibly giving up on the example id
<tiosgz>
(in the manpage that is)
tiosgz has quit [Quit: tiosgz]
notzmv has quit [Ping timeout: 240 seconds]
IchikaZou has joined #river
IchikaZou has quit [Remote host closed the connection]