river icon indicating copy to clipboard operation
river copied to clipboard

feature request: cycle view stack

Open johngebbie opened this issue 3 years ago • 5 comments

I'd the like the big window to always have focus and be able to cycle what's in the windows. Thank you.

johngebbie avatar Aug 10 '22 17:08 johngebbie

With exactly three windows, this works (though visually flickery):

riverctl map normal Mod4 C spawn 'for i in $(seq 2); do riverctl swap next; done; riverctl focus-view next'

Is there a way to get the number of windows?

johngebbie avatar Aug 11 '22 08:08 johngebbie

Is there a way to get the number of windows?

Yes, with the river-status protocol.

Leon-Plickat avatar Aug 11 '22 14:08 Leon-Plickat

Or there is view count in the layout protocol too

novakne avatar Aug 11 '22 14:08 novakne

Is that something I can do with riverctl or some other way on command line?

johngebbie avatar Aug 11 '22 16:08 johngebbie

You would need to write a client with those protocols to do this, I don't think there is one already

novakne avatar Aug 16 '22 06:08 novakne