Ronan-Dpq has quit [Remote host closed the connection]
fleischie has quit [Server closed connection]
fleischie has joined #river
Guest30 has joined #river
Guest30 has quit [Client Quit]
ccha has quit [Server closed connection]
ccha has joined #river
Szadek44 has joined #river
waleee has joined #river
ayushnix has quit [Read error: Connection reset by peer]
ayushnix has joined #river
flub has quit [Server closed connection]
flub has joined #river
i9j8k7 has joined #river
<i9j8k7>
hello, how can I achieve the following? <$mod-N> toggles focus of tag N, but also, if I press <$mod-g> immediately after it the focused view is tagged with tag N
<i9j8k7>
(this comes from cwm)
waleee has quit [Ping timeout: 248 seconds]
waleee has joined #river
leopoldek has joined #river
leopoldek has quit [Remote host closed the connection]
qyliss_ is now known as qyliss
<leon-p>
i9j8k7: you could write a wrapper script around riverctl that writes the tags to a file when toggling focus and then reads them for setting view tags
<i9j8k7>
leon-p: sorry, I'm at a loss. A wrapper script around riverctl?
<leon-p>
yes, a script you call instead of riverctl, with the tag as argument
<leon-p>
it then calls riverctl with the tag and then writes the tag to a file
<leon-p>
then a second script can read the tags from that file
<leon-p>
i9j8k7: ^
<i9j8k7>
ok, I think I see, I would need to map the keys to execute a script
<leon-p>
indeed
<i9j8k7>
I guess that would work thanks, although I'm not too happy about executing a script and writing to a file everytime I toggle focus to a tab
<leon-p>
I can see that, but such is life if you depend on niche features 🤷
<leon-p>
you don't have to write to disk though, you can write to tempfs
<leon-p>
and the additional overhead is not something you should loose sleep over either, it's basically nothing
<i9j8k7>
yeah, it's probably fine, maybe I'll try some sleep pills in case that's needed
<leon-p>
:)
waleee has quit [Ping timeout: 258 seconds]
ayushnix has quit [Read error: Connection reset by peer]
ayushnix has joined #river
i9j8k7 has quit [Quit: leaving]
Szadek44 is now known as Szadek
waleee has joined #river
leopoldek has joined #river
hryx has quit [Server closed connection]
hryx has joined #river
Misthios has quit [Remote host closed the connection]